Properties
Private routes
routes: {}
Methods
batchRegister
- batchRegister(options: any): void
gotoPage
- gotoPage(pathOrRoute: CommonParams["path"], query: CommonParams["query"]): Promise<any>
-
Parameters
-
pathOrRoute: CommonParams["path"]
-
query: CommonParams["query"]
Returns Promise<any>
Private matchRoute
- matchRoute(pathOrRoute: any): { params: {}; path: any }
-
Parameters
Returns { params: {}; path: any }
navigateBack
- navigateBack(query: { delta: number }, option?: { setData: Record<string, unknown> }): Promise<unknown>
-
Parameters
-
query: { delta: number }
-
Optional option: { setData: Record<string, unknown> }
-
setData: Record<string, unknown>
Returns Promise<unknown>
navigateTo
- navigateTo(pathOrRoute: CommonParams["path"], query: CommonParams["query"]): Promise<any>
-
Parameters
-
pathOrRoute: CommonParams["path"]
-
query: CommonParams["query"]
Returns Promise<any>
redirectTo
- redirectTo(pathOrRoute: CommonParams["path"], query: CommonParams["query"]): Promise<unknown>
-
Parameters
-
pathOrRoute: CommonParams["path"]
-
query: CommonParams["query"]
Returns Promise<unknown>
register
-
Type parameters
Parameters
Returns void
switchTab
- switchTab(pathOrRoute: CommonParams["path"], query: CommonParams["query"]): Promise<unknown>
-
Parameters
-
pathOrRoute: CommonParams["path"]
-
query: CommonParams["query"]
Returns Promise<unknown>