// WOW.js 类型声明
|
|
|
|
interface WowOptions {
|
|
boxClass?: string;
|
|
animateClass?: string;
|
|
offset?: number;
|
|
mobile?: boolean;
|
|
live?: boolean;
|
|
callback?: Function;
|
|
scrollContainer?: string | null;
|
|
}
|
|
|
|
declare class WOW {
|
|
constructor(options?: WowOptions);
|
|
init(): void;
|
|
}
|
|
|
|
interface Window {
|
|
WOW: typeof WOW;
|
|
}
|