LOCATION_STRATEGIES

const
Layout & Sizing

Map of the two built-in positioning strategies used by floating components (Menu, Tooltip, Picker). static = fixed viewport position (centered by default); connected = anchored to a triggering element.

TypeScript

Definition

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

typescript

Entries

Values

All entries in this constant. Click a value to copy it to clipboard.

static: staticLocationStrategy
connected: connectedLocationStrategy

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamMenu

  • OrigamTooltip

Usage

Examples

Ready-to-paste code snippets using this constant.

Referencing a location strategy by name

typescript