m3e/action_list

ActionList is a list of actions.

This file was generated by m3e/generator

     DO NOT EDIT

Types

ActionList is a View Model for this component

Fields:

  • variant: The appearance variant of the list.
pub opaque type ActionList

Values

pub fn new(variant: list_variant.ListVariant) -> ActionList

new creates a new ActionList with the default configuration.

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

render creates a Lustre Element for a ActionList

pub fn variant(
  arg: ActionList,
  variant: list_variant.ListVariant,
) -> ActionList

variant sets the value of variant for this ActionList.

Search Document