TInfiniteScrollSide
type
Navigation
Which end(s) of the scroll container trigger the load event in OrigamInfiniteScroll — start, end, or both simultaneously.
TypeScript
Définition
La définition TypeScript telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
Acceptées
Valeurs
Valeurs littérales de chaîne acceptées pour ce type. Cliquez sur une valeur pour la copier.
- end
- The load sentinel is placed at the bottom/right — standard "load more" pagination (default).
- start
- The load sentinel is placed at the top/left of the scroll container — useful for prepend-loading (e.g. chat history).
- both
- Sentinels at both ends — bidirectional scrolling. The load event payload includes which side triggered the load.
Écosystème
Utilisé par
Composants et props qui acceptent ce type comme valeur.
Usage
Exemples
Extraits de code prêts à coller utilisant ce type.
Standard bottom-triggered infinite scroll
Bidirectional scroll (chat history)