@base-framework/base 3.0.117 → 3.0.118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,14 +8,14 @@ export class HistoryController {
|
|
|
8
8
|
/**
|
|
9
9
|
* This will check if browser based navigation is supported
|
|
10
10
|
*
|
|
11
|
-
* @returns boolean
|
|
11
|
+
* @returns {boolean}
|
|
12
12
|
*/
|
|
13
13
|
static browserIsSupported(): boolean;
|
|
14
14
|
/**
|
|
15
15
|
* This will create a History Object based on navigation support
|
|
16
16
|
*
|
|
17
17
|
* @param {object} router
|
|
18
|
-
* @returns
|
|
18
|
+
* @returns {object}
|
|
19
19
|
*/
|
|
20
|
-
static setup(router: object):
|
|
20
|
+
static setup(router: object): object;
|
|
21
21
|
}
|
|
@@ -26,6 +26,19 @@ export class History {
|
|
|
26
26
|
* @param {object} evt
|
|
27
27
|
*/
|
|
28
28
|
check(evt: object): void;
|
|
29
|
+
/**
|
|
30
|
+
* This will get the current scroll position.
|
|
31
|
+
*
|
|
32
|
+
* @returns {object}
|
|
33
|
+
*/
|
|
34
|
+
getScrollPosition(): object;
|
|
35
|
+
/**
|
|
36
|
+
* This will scroll to a position.
|
|
37
|
+
*
|
|
38
|
+
* @param {object} scrollPosition
|
|
39
|
+
* @returns {void}
|
|
40
|
+
*/
|
|
41
|
+
scrollTo(scrollPosition: object): void;
|
|
29
42
|
/**
|
|
30
43
|
* This will add the events.
|
|
31
44
|
*
|