Initializer

interface Initializer<T> : UiElement.Initializer

Initializer for the list UI.

Functions

presentation
Link copied to clipboard
abstract fun presentation(transformer: UiElementContainer.(T) -> UiElement)
A presentation generator for the data items.

Properties

data
Link copied to clipboard
abstract var data: DataCollection<T>
The data shown in the list.
horizontalAlignment
Link copied to clipboard
abstract var horizontalAlignment: HorizontalAlignment
The horizontal alignment of the element within the available space.
pos
Link copied to clipboard
abstract var pos: Grid.Pos
The position of the UI element within the grid of its parent element.
sizePolicy
Link copied to clipboard
abstract var sizePolicy: SizePolicy
The element's size policy.
span
Link copied to clipboard
abstract var span: Grid.Span
The size of the element within the grid of its parent element.