SNACKBAR_GROUP_LOCATIONS
const
Feedback & Notifications
Closed list of valid `location` values for OrigamSnackbarGroup. Covers the eight placement zones available on the viewport edges and corners.
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.
- 'top-left'
- Top-left corner of the viewport.
- 'top-right'
- Top-right corner of the viewport.
- 'top-center'
- Top-centre of the viewport.
- 'bottom-left'
- Bottom-left corner of the viewport.
- 'bottom-right'
- Bottom-right corner of the viewport.
- 'bottom-center'
- Bottom-centre of the viewport.
- 'top'
- Full-width strip at the top of the viewport.
- 'bottom'
- Full-width strip at the bottom of the viewport.
Ecosystem
Used by
Composables and components that consume this constant.
useSnackbarGroup
OrigamSnackbarGroup
Usage
Examples
Ready-to-paste code snippets using this constant.
Iterating locations for a HstSelect control