mirror of
https://github.com/OpenSquawk/OpenSquawk
synced 2026-08-01 06:06:05 +08:00
22 lines
429 B
TypeScript
22 lines
429 B
TypeScript
declare module 'aos' {
|
|
interface AOSOptions {
|
|
offset?: number
|
|
delay?: number | string
|
|
duration?: number | string
|
|
easing?: string
|
|
once?: boolean
|
|
mirror?: boolean
|
|
anchorPlacement?: string
|
|
disable?: boolean | string | (() => boolean)
|
|
}
|
|
|
|
interface AOS {
|
|
init(options?: AOSOptions): void
|
|
refresh(force?: boolean): void
|
|
refreshHard(): void
|
|
}
|
|
|
|
const aos: AOS
|
|
export default aos
|
|
}
|