Scoop API

scoop:scoop.ui:0.1.0

element

function element

source · line 59
public
public fun <P, L, E: Element<L>> element(props: P, create: (Props<P>, ComponentScope) -> E, children: Array<View> = [], key: ViewKey = ViewKey.Position, comparison: InputComparison<P>? = None): View

function element

source · line 52
public
public fun <L, E: Element<L>> element(create: (ComponentScope) -> E, children: Array<View> = [], key: ViewKey = ViewKey.Position, comparison: InputComparison<Unit>? = None): View

Factories retain a concrete class type and create a fresh instance for each new mount.