zng::widget

Function is_inited

source
pub fn is_inited(child: impl UiNode, state: impl IntoVar<bool>) -> impl UiNode
Expand description

P If the widget has been initialized.

The state is set to true on init and to false on deinit. This property is useful for declaring transition animations that play on init using when blocks.