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

Définition

La définition TypeScript telle qu'elle apparaît dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

Entrées

Valeurs

Toutes les entrées de cette constante. Cliquez sur une valeur pour la copier dans le presse-papiers.

'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.

Écosystème

Utilisé par

Composables et composants qui consomment cette constante.

Usage

Exemples

Extraits de code prêts à coller utilisant cette constante.

Iterating locations for a HstSelect control

typescript