Logo FS-Skia-UI

Stack Module

Builders for the `Stack` container — lays its children single-file along one axis (vertical by default; see `Stack.orientation`).

Functions and values

Function or value Description

children arg1

Full Usage: children arg1

Parameters:
Returns: Attr<'msg>
Type parameters: 'msg

Supply the ordered child controls a `Stack` arranges (`Attr.children`).

arg0 : Control<'msg> list
Returns: Attr<'msg>

create arg1

Full Usage: create arg1

Parameters:
    arg0 : Attr<'msg> list

Returns: Control<'msg>
Type parameters: 'msg

Build a `Stack` container from its attributes; pair with `Stack.children` for content. The typed `Props` front door (`FS.Skia.UI.Controls.Typed`) is the recommended authoring path.

arg0 : Attr<'msg> list
Returns: Control<'msg>

orientation arg1

Full Usage: orientation arg1

Parameters:
    arg0 : string

Returns: Attr<'msg>
Type parameters: 'msg

Lay the stack's children along the row axis when value = "horizontal"; any other value (or omission) keeps the default vertical column (FR-007).

arg0 : string
Returns: Attr<'msg>

Type something to start searching.