ILocationProps
interface
Layout & Sizing
Minimal anchor contract — a single `location` prop that determines where a floating or anchored element is positioned relative to its target.
TypeScript
Définition
La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
API
Propriétés
Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.
- locationTAnchor
- Anchor descriptor that combines a side ("top", "bottom", "left", "right", "center") with an optional alignment ("start", "end"). Controls where the floating content appears relative to its target.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Extending the interface for a floating component