ui/list_box

Types

pub type SelectionMode {
  None
  Single
  Multiple
}

Constructors

  • None
  • Single
  • Multiple
pub type Size {
  Small
  Medium
  Large
}

Constructors

  • Small
  • Medium
  • Large
pub type Variant {
  Default
  Muted
}

Constructors

  • Default
  • Muted

Values

pub fn activedescendant(id: String) -> attribute.Attribute(a)
pub fn aria_label(label: String) -> attribute.Attribute(a)
pub fn list_box(
  attributes: List(attribute.Attribute(a)),
  children: List(element.Element(a)),
) -> element.Element(a)
pub fn list_box_option(
  attributes: List(attribute.Attribute(a)),
  label: String,
  option_value: String,
) -> element.Element(a)
pub fn list_box_section(
  attributes: List(attribute.Attribute(a)),
  heading: String,
  children: List(element.Element(a)),
) -> element.Element(a)
pub fn size(s: Size) -> attribute.Attribute(a)
Search Document