pub fn Menu<T>(props: MenuProps<T>) -> impl IntoViewExpand description
§Required Props
- menu_trigger:
MenuTrigger<T>- The element or component that triggers menu.
- on_select:
impl Into<BoxOneCallback<String>>- Called when item is selected.
- children:
Children
§Optional Props
- class:
impl Into<MaybeProp<String>> - trigger_type:
MenuTriggerType- Action that displays the menu.
- position:
MenuPosition- Menu position.
- appearance:
impl Into<MaybeProp<MenuAppearance>>