diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2022-02-04 20:27:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-04 20:27:23 +0300 |
commit | 73276b86fa9cff1c817bc433f061b14ea3f4037a (patch) | |
tree | 3759bdb2b0d312f509a8549bac212ff2c9a7ea2d /plugins/CoreVue | |
parent | 2ac01ae7967f3445274b1fc3c2d51ef90ac61c26 (diff) |
Add declartion for lazyScrollToContent() method. (#18743)
Diffstat (limited to 'plugins/CoreVue')
-rw-r--r-- | plugins/CoreVue/types/index.d.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/CoreVue/types/index.d.ts b/plugins/CoreVue/types/index.d.ts index 3a15def47b..653388b65d 100644 --- a/plugins/CoreVue/types/index.d.ts +++ b/plugins/CoreVue/types/index.d.ts @@ -82,8 +82,9 @@ declare global { modalConfirm(element: JQuery|JQLite|HTMLElement|string, callbacks?: ModalConfirmCallbacks, options?: ModalConfirmOptions); getAngularDependency(eventName: string): any; isAngularRenderingThePage(): boolean; - setMarginLeftToBeInViewport(elementToPosition: JQuery|JQLite|Element|string); - lazyScrollTo(element: JQuery|JQLite|HTMLElement|string, time: number, forceScroll?: boolean); + setMarginLeftToBeInViewport(elementToPosition: JQuery|JQLite|Element|string): void; + lazyScrollTo(element: JQuery|JQLite|HTMLElement|string, time: number, forceScroll?: boolean): void; + lazyScrollToContent(): void; registerShortcut(key: string, description: string, callback: (event: ExtendedKeyboardEvent) => void): void; compileAngularComponents(selector: JQuery|JQLite|HTMLElement|string, options?: CompileAngularComponentsOptions): void; } |