Logo Mibo

Item<'T> Type

One resolved item of the document tree. `Name` selects the style rules; `Element` paints the body; `Cols`, `Rows` and `Areas` are the container's declared tracks and area template. Carries a paint closure, so it never takes structural equality.

Record fields

Record Field Description

Areas

Full Usage: Areas

Field type: string[][]
Field type: string[][]

Children

Full Usage: Children

Field type: Item<'T>[]
Field type: Item<'T>[]

Cols

Full Usage: Cols

Field type: Track[]
Field type: Track[]

Element

Full Usage: Element

Field type: Element<'T>
Field type: Element<'T>

Layer

Full Usage: Layer

Field type: string voption

The layer this item declares, when it is a `layer` container under the map. `ValueNone` on every other item: `main` is the map's own body plus its non-layer children, and it is not an item of its own.

Field type: string voption

Name

Full Usage: Name

Field type: string
Field type: string

Rows

Full Usage: Rows

Field type: Track[]
Field type: Track[]

Style

Full Usage: Style

Field type: Style
Field type: Style

Type something to start searching.