@base-framework/base 3.7.73 → 3.7.74

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.
@@ -314,6 +314,17 @@ export class Router {
314
314
  * @returns {void}
315
315
  */
316
316
  applyScrollIntent(): void;
317
+ /**
318
+ * Re-asserts window scroll position at the top on the next
319
+ * animation frame. Route activation can asynchronously mount or
320
+ * reattach persisted DOM after applyScrollIntent runs, which can
321
+ * leave the viewport at the previous page's offset even though we
322
+ * already called scrollTo(0, 0). Re-asserting after a frame ensures
323
+ * the new page lands at the top.
324
+ *
325
+ * @returns {void}
326
+ */
327
+ reassertScrollTop(): void;
317
328
  /**
318
329
  * This will scroll to a target element by CSS selector.
319
330
  * For sticky elements, it scrolls to the position where the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/base",
3
- "version": "3.7.73",
3
+ "version": "3.7.74",
4
4
  "description": "This is a javascript framework.",
5
5
  "main": "./dist/base.js",
6
6
  "type": "module",