mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #4682
This commit is contained in:
parent
12333edd7c
commit
249cfbd68f
5 changed files with 127 additions and 48 deletions
|
@ -23,6 +23,25 @@ export interface AnimateOnScrollOptions {
|
|||
* AnimateOnScroll scroll to add when item begins to get hidden.
|
||||
*/
|
||||
leaveClass?: string | undefined;
|
||||
/**
|
||||
* Specifies the `root` option of the IntersectionObserver API
|
||||
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/root)
|
||||
*/
|
||||
root?: Element | Document | null;
|
||||
/**
|
||||
* Specifies the `rootMargin` option of the IntersectionObserver API
|
||||
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/rootMargin)
|
||||
*/
|
||||
rootMargin?: string;
|
||||
/**
|
||||
* Specifies the `threshold` option of the IntersectionObserver API
|
||||
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/thresholds)
|
||||
*/
|
||||
threshold?: ReadonlyArray<number>;
|
||||
/**
|
||||
* Whether the `enterClass` animation will run if the target is in the viewport when the page is loaded.
|
||||
*/
|
||||
animateOnLoad?: boolean;
|
||||
/**
|
||||
* Used to pass attributes to DOM elements inside the component.
|
||||
* @type {AnimateOnScrollDirectivePassThroughOptions}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue