Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordizzy <diosmosis@users.noreply.github.com>2022-02-04 20:27:23 +0300
committerGitHub <noreply@github.com>2022-02-04 20:27:23 +0300
commit73276b86fa9cff1c817bc433f061b14ea3f4037a (patch)
tree3759bdb2b0d312f509a8549bac212ff2c9a7ea2d
parent2ac01ae7967f3445274b1fc3c2d51ef90ac61c26 (diff)
Add declartion for lazyScrollToContent() method. (#18743)
-rw-r--r--plugins/CoreVue/types/index.d.ts5
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;
}