Function zng_wgt_menu::popup::style_fn
source ยท pub fn style_fn(
child: impl UiNode,
style_fn: impl IntoVar<StyleFn>,
) -> impl UiNode
Expand description
P
Extends or replaces the widget style.
Properties and when
conditions in the style are applied to the widget. Style instances extend the contextual style
by default, you can set replace
on a style to true
to fully replace.