ui/tabs

Types

pub type KeyboardActivation {
  Automatic
  Manual
}

Constructors

  • Automatic
  • Manual
pub type Orientation {
  Horizontal
  Vertical
}

Constructors

  • Horizontal
  • Vertical
pub type Size {
  Small
  Medium
  Large
}

Constructors

  • Small
  • Medium
  • Large
pub type Variant {
  Default
  Bordered
  Pill
}

Constructors

  • Default
  • Bordered
  • Pill

Values

pub fn size(s: Size) -> attribute.Attribute(a)
pub fn tab(
  attributes: List(attribute.Attribute(a)),
  children: List(element.Element(a)),
) -> element.Element(a)
pub fn tab_disabled(disabled: Bool) -> attribute.Attribute(a)
pub fn tab_list(
  attributes: List(attribute.Attribute(a)),
  children: List(element.Element(a)),
) -> element.Element(a)
pub fn tab_panel(
  attributes: List(attribute.Attribute(a)),
  children: List(element.Element(a)),
) -> element.Element(a)
pub fn tab_selected(selected: Bool) -> attribute.Attribute(a)
pub fn tabs(
  attributes: List(attribute.Attribute(a)),
  children: List(element.Element(a)),
) -> element.Element(a)
Search Document