mountContext

inline fun TagContext.mountContext(mountJob: Job): Div

Creates a Div as context for the mounted content using the given job and adds it to the receiver of this function inheriting its scope. Also adds a style-class "mount-point" that adds a "display: contents" property to the created Div and an attribute "data-mount-point" to the created Div.

Parameters

<receiver>

TagContext parent to add the Div to

mountJob

Job to use downstream from this mountpoint