vue-micro-router 1.0.48 → 1.0.50
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/dist/index.d.ts +4 -0
- package/dist/index.mjs +590 -585
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -433,6 +433,8 @@ export declare interface MicroRouterStore {
|
|
|
433
433
|
activePage: ComputedRef<string>;
|
|
434
434
|
fromPage: ComputedRef<string>;
|
|
435
435
|
toPage: ComputedRef<string>;
|
|
436
|
+
/** True while a navigation animation (push/stepWisePush/stepWiseBack) is in progress */
|
|
437
|
+
isNavigating: ComputedRef<boolean>;
|
|
436
438
|
resolveRoutes: ComputedRef<MicroRoute[]>;
|
|
437
439
|
/**
|
|
438
440
|
* Navigate to a destination. Guarded against rapid double-clicks.
|
|
@@ -555,6 +557,8 @@ export declare interface NavigationState {
|
|
|
555
557
|
activePage: ComputedRef<string>;
|
|
556
558
|
fromPage: ComputedRef<string>;
|
|
557
559
|
toPage: ComputedRef<string>;
|
|
560
|
+
/** True while a navigation animation (push/stepWisePush/stepWiseBack) is in progress */
|
|
561
|
+
isNavigating: ComputedRef<boolean>;
|
|
558
562
|
resolveRoutes: ComputedRef<MicroRoute[]>;
|
|
559
563
|
push: (destination: string | number, props?: Record<string, unknown>) => Promise<void>;
|
|
560
564
|
stepWisePush: (targetPath: string, props?: Record<string, unknown>) => Promise<void>;
|