marquee-content 4.5.1-dev.0 → 4.5.1-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +18 -18
- package/dist/index.es.js +412 -410
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,26 +3,26 @@ import { ScrollTrigger } from 'gsap/ScrollTrigger';
|
|
|
3
3
|
interface MarqueeOptions {
|
|
4
4
|
element?: string | HTMLElement;
|
|
5
5
|
}
|
|
6
|
-
|
|
7
|
-
private static
|
|
8
|
-
private static
|
|
9
|
-
private
|
|
10
|
-
private
|
|
11
|
-
private
|
|
12
|
-
private
|
|
13
|
-
private
|
|
14
|
-
private
|
|
6
|
+
export default class MarqueeContent {
|
|
7
|
+
private static _gsap;
|
|
8
|
+
private static _ScrollTrigger;
|
|
9
|
+
private gsapInstance;
|
|
10
|
+
private timeline?;
|
|
11
|
+
private matchMedia;
|
|
12
|
+
private element;
|
|
13
|
+
private resizeObserver;
|
|
14
|
+
private animationFrame?;
|
|
15
15
|
constructor({ element }?: MarqueeOptions);
|
|
16
16
|
static registerGSAP(gsapInstance: typeof gsap, scrollTriggerInstance: typeof ScrollTrigger): void;
|
|
17
|
-
private static
|
|
17
|
+
private static debounce;
|
|
18
18
|
init(): void;
|
|
19
19
|
destroy(): void;
|
|
20
|
-
private
|
|
21
|
-
private
|
|
22
|
-
private
|
|
23
|
-
private
|
|
24
|
-
private
|
|
25
|
-
private
|
|
26
|
-
private
|
|
20
|
+
private setup;
|
|
21
|
+
private update;
|
|
22
|
+
private createAnimation;
|
|
23
|
+
private clearTimeline;
|
|
24
|
+
private setBreakpoints;
|
|
25
|
+
private cloneElements;
|
|
26
|
+
private applySkew;
|
|
27
27
|
}
|
|
28
|
-
export
|
|
28
|
+
export {};
|