mirror of
https://github.com/OpenSquawk/OpenSquawk
synced 2026-08-05 08:55:54 +08:00
typescript
This commit is contained in:
21
types/aos.d.ts
vendored
Normal file
21
types/aos.d.ts
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user