m3e/opt_group

OptGroup is groups options under a subheading.

This file was generated by m3e/generator

     DO NOT EDIT

Types

OptGroup is a View Model for this component

pub opaque type OptGroup

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

pub type Slot {
  Label
}

Constructors

  • Label

Values

pub fn new() -> OptGroup

new creates a new OptGroup with the default configuration.

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

render creates a Lustre Element for a OptGroup

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

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

Search Document