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.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

start
number | string
Inclusive starting grid line. Accepts a number or a named line.
end
number | string
Exclusive ending grid line. Accepts a number or a named line.
span
number
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

vue