IGridLineSpec
interface
Layout
Object syntax for a CSS grid line specification used by OrigamGridItem — express column/row placement with start, end, or span without writing raw CSS grid syntax.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- startnumber | string
- Inclusive starting grid line. Accepts a number or a named line.
- endnumber | string
- Exclusive ending grid line. Accepts a number or a named line.
- spannumber
- Span N tracks from start. Wins over end when both are set.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Spanning two columns from a named line