BLOCK

enum
Layout & Positioning

TypeScript enum for block-axis anchor positions used in overlay and floating element placement (top, bottom).

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Members

Members

All members of this enum. Click a value to copy it to clipboard.

BLOCK.TOP
Anchor or position at the top of the block axis.
BLOCK.BOTTOM
Anchor or position at the bottom of the block axis.

Ecosystem

Used by

Components and props that accept this enum as a value.

Usage

Examples

Ready-to-paste code snippets using this enum.

Using the enum in script setup

typescript