@base-framework/base 3.0.122 → 3.0.124
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.
- package/README.md +2 -2
- package/dist/base.js +1 -1
- package/dist/base.js.map +3 -3
- package/dist/types/modules/router/router.d.ts +19 -0
- package/package.json +1 -1
|
@@ -240,6 +240,25 @@ export class Router {
|
|
|
240
240
|
* @returns {void}
|
|
241
241
|
*/
|
|
242
242
|
select(route: object): void;
|
|
243
|
+
/**
|
|
244
|
+
* This will check to scroll to the top of the page.
|
|
245
|
+
*
|
|
246
|
+
* @returns {void}
|
|
247
|
+
*/
|
|
248
|
+
checkToScroll(): void;
|
|
249
|
+
/**
|
|
250
|
+
* This will clean the path.
|
|
251
|
+
*
|
|
252
|
+
* @param {string|null} path
|
|
253
|
+
* @returns {string}
|
|
254
|
+
*/
|
|
255
|
+
cleanPath(path: string | null): string;
|
|
256
|
+
/**
|
|
257
|
+
* This will scroll to the top of the page if the route has changed.
|
|
258
|
+
*
|
|
259
|
+
* @returns {boolean}
|
|
260
|
+
*/
|
|
261
|
+
shouldScrollToTop(): boolean;
|
|
243
262
|
/**
|
|
244
263
|
* This will get the endpoint.
|
|
245
264
|
*
|