BLOCK_ARRAY
const
Layout & Sizing
Array of the two block-axis anchor values (top and bottom). Used by the anchor / positioning system to enumerate vertical placement options without including inline or start/end variants.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Entries
Values
All entries in this constant. Click a value to copy it to clipboard.
- BLOCK.TOP
- Top anchor — aligns the element to the top edge.
- BLOCK.BOTTOM
- Bottom anchor — aligns the element to the bottom edge.
Ecosystem
Used by
Composables and components that consume this constant.
useAnchor
OrigamMenu
OrigamTooltip
Usage
Examples
Ready-to-paste code snippets using this constant.
Checking if a position is block-axis