Skip to content
HomePagesHomePages template kit

ATTR_SLOT_FIELD

The field name of one row field inside a record item — the fourth and last dimension of slot identity, `(instance, slot, item?, field?)`.

The field name of one row field inside a record item — the fourth and last dimension of slot identity, (instance, slot, item?, field?).

It is also a SCOPE BOUNDARY for item queries, exactly as data-slot-id is: an item resolves to the nearest [data-slot-item] whose closest [data-slot-id] or [data-slot-field] ancestor is the element doing the lookup, so an outer collection’s lookup can never reach into a nested list rendered inside one of its rows. Identity stays a fixed 4-tuple rather than a path because a record cannot nest inside a record — the list grammar’s field union enforces that in the type.

Import from @homepages/template-kit.

const ATTR_SLOT_FIELD: "data-slot-field"