LOCATION_STRATEGIES
enum
Layout & Sizing
Positioning strategy for floating overlays: static (document flow) or connected (anchored to an activator).
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Members
Members
All members of this enum. Click a value to copy it to clipboard.
- LOCATION_STRATEGIES.STATIC
- The overlay stays in the document flow without anchoring.
- LOCATION_STRATEGIES.CONNECTED
- The overlay is positioned relative to its activator element.
Ecosystem
Used by
Components and props that accept this enum as a value.
Usage
Examples
Ready-to-paste code snippets using this enum.
Choosing a positioning strategy