Function zng::popup::anchor_mode

source ยท
pub fn anchor_mode(
    child: impl UiNode,
    mode: impl IntoVar<AnchorMode>,
) -> impl UiNode
Expand description

P Defines the popup placement and size for popups open by the widget or descendants.

This property must be set on the widget that opens the popup or a parent, not the popup widget itself.

This property sets the ANCHOR_MODE_VAR.