IScrollStrategyProps
interface
Scroll
Overlay scroll-strategy props. Extended by Overlay, Tooltip and related components to let consumers choose how the floating panel reacts when the page or its ancestor container scrolls.
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.
- scrollStrategyTScrollStrategy | TScrollStrategyFn
- Named strategy (block, close, none, reposition) or a custom TScrollStrategyFn callback that receives IScrollStrategyData.
- containedboolean
- When true, the overlay is positioned inside its scroll container rather than the document root, so the positioning engine observes the container scroll instead.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Configuring scroll strategy on a Tooltip