feat: ready add SeamlessScroll component

This commit is contained in:
xiaoxian521
2021-04-14 23:33:38 +08:00
parent 71181b9d2b
commit bd8348b432
5 changed files with 150 additions and 6 deletions

8
types/global.d.ts vendored
View File

@@ -18,7 +18,13 @@ declare global {
}
declare interface Window {
// Global vue app instance
__APP__: App<Element>
__APP__: App<Element>,
mozCancelAnimationFrame: (id?: any) => any,
oCancelAnimationFrame: (id?: any) => any,
msCancelAnimationFrame: (id?: any) => any,
mozRequestAnimationFrame: (id?: any) => any,
oRequestAnimationFrame: (id?: any) => any,
msRequestAnimationFrame: (id?: any) => any
}
// vue