state

Function state 

Source
pub fn state(child: impl IntoUiNode, state: impl IntoVar<WindowState>) -> UiNode
Expand description

P Binds the state window var with the property value.

The binding is bidirectional and the window variable is assigned on init.