novdom/component/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 Scroll {
VerticalScroll
HorizontalScroll
Scroll
NoScroll
}
Constructors
-
VerticalScroll
-
HorizontalScroll
-
Scroll
-
NoScroll
Functions
pub fn hscroll(
alignment: Alignment,
spacing: Spacing,
children: List(Component),
) -> Component
pub fn hstack(
alignment: Alignment,
spacing: Spacing,
children: List(Component),
) -> Component
pub fn stack(
direction: Direction,
alignment: Alignment,
spacing: Spacing,
scrolling: Scroll,
children: List(Component),
) -> Component
pub fn vscroll(
alignment: Alignment,
spacing: Spacing,
children: List(Component),
) -> Component
pub fn vstack(
alignment: Alignment,
spacing: Spacing,
children: List(Component),
) -> Component