m3e/nav_menu_item_group

NavMenuItemGroup is a top-level semantic grouping of items in a navigation menu.

This file was generated by m3e/generator

     DO NOT EDIT

Types

NavMenuItemGroup is a View Model for this component

pub opaque type NavMenuItemGroup

Slots are used in child elements to insert content into this component

pub type Slot {
  Label
}

Constructors

  • Label

Values

pub fn new() -> NavMenuItemGroup

new creates a new NavMenuItemGroup with the default configuration.

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

render creates a Lustre Element for a NavMenuItemGroup

pub fn slot(s: Slot) -> attribute.Attribute(msg)

slot returns a Lustre Attribute(msg) for the given slot name

Search Document