view

fun view(block: Buffer.() -> Unit)(source)

Sets the main view function for the application.

Parameters

block

A lambda that defines how to draw the application state into the Buffer.