Skip to main content

NativeView

Function NativeView 

Source
pub fn NativeView(
    __arg0: &str,
    __arg1: &str,
    __arg2: Modifier,
    on_event: impl Fn(&str) + 'static,
)
Expand description

Reserves a native child with an application-defined factory and configuration.

Factories own creation, updates and disposal. The host preserves the child until its slot is removed or its factory kind changes.