novdom/parameter/container

Types

pub type Alignment {
  Top
  Bottom
  Left
  Right
  Center
  TopLeft
  TopRight
  BottomLeft
  BottomRight
}

Constructors

  • Top
  • Bottom
  • Left
  • Right
  • Center
  • TopLeft
  • TopRight
  • BottomLeft
  • BottomRight
pub type Direction {
  VerticalDirection
  HorizontalDirection
}

Constructors

  • VerticalDirection
  • HorizontalDirection
pub type Placement {
  Gap(String)
  EvenSpacing
  BetweenSpacing
  AroundSpacing
  Start
  End
  Middle
}

Constructors

  • Gap(String)
  • EvenSpacing
  • BetweenSpacing
  • AroundSpacing
  • Start
  • End
  • Middle
pub type Scroll {
  VerticalScroll
  HorizontalScroll
  Scroll
  NoScroll
}

Constructors

  • VerticalScroll
  • HorizontalScroll
  • Scroll
  • NoScroll

Functions

pub fn hscroll(
  alignment: Alignment,
  placement: Placement,
) -> Parameter
pub fn hstack(
  alignment: Alignment,
  placement: Placement,
) -> Parameter
pub fn vscroll(
  alignment: Alignment,
  placement: Placement,
) -> Parameter
pub fn vstack(
  alignment: Alignment,
  placement: Placement,
) -> Parameter
pub fn zstack(alignment: Alignment) -> Parameter
Search Document