m3e/fab_menu

FabMenu is a menu, opened from a floating action button (FAB), used to display multiple related actions.

This file was generated by m3e/generator

     DO NOT EDIT

Types

FabMenu is a View Model for this component

Fields:

  • variant: The appearance variant of the menu.
pub opaque type FabMenu

Values

pub fn new(variant: fab_menu_variant.FabMenuVariant) -> FabMenu

new creates a new FabMenu with the default configuration.

pub fn render(
  model: FabMenu,
  attributes: List(attribute.Attribute(msg)),
  children: List(element.Element(msg)),
) -> element.Element(msg)

render creates a Lustre Element for a FabMenu

pub fn variant(
  arg: FabMenu,
  variant: fab_menu_variant.FabMenuVariant,
) -> FabMenu

variant sets the value of variant for this FabMenu.

Search Document