render

open fun <V> Flow<V>.render(into: Tag<HTMLElement>? = null, content: Tag<*>.(V) -> Unit)

Renders the data of a Flow as Tags to the DOM.

Receiver

Flow containing the data

Parameters

into

target to mount content to. If not set a child div is added to the Tag this method is called on

content

RenderContext for rendering the data to the DOM