BottomTabBarRouter
Extends:
Static Method Summary
Static Public Methods | ||
public static |
of(param: RouteParams): * Builds OS specific NaitveRouter |
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
dispose() |
|
public |
isInitialPath(path: stirng): boolean Checks specified path is currently opened path |
|
public |
CHecks if TabBarItem is visited before |
|
public |
renderMatches(matches: *, state: *, action: *) |
|
public |
resolveIndex(path: string): * Finds child route's index by path |
|
public |
resolveRoute(index: number): * Finds child route by index |
|
public |
routetoIndex(index: number) Pushes a new route by index |
|
public |
setVisited(index: number, path: string) Sets TabBarItems visited by TabBarItem index |
Protected Methods | ||
protected |
onRouteMatch(route: *, match: *, state: *, action: *): boolean |
Static Public Methods
public static of(param: RouteParams): * source
Builds OS specific NaitveRouter
Params:
Name | Type | Attribute | Description |
param | RouteParams |
Return:
* |
Public Constructors
Public Methods
public dispose() source
public isInitialPath(path: stirng): boolean source
Checks specified path is currently opened path
Params:
Name | Type | Attribute | Description |
path | stirng | Route path |
public isVisited(index: number): boolean source
CHecks if TabBarItem is visited before
Params:
Name | Type | Attribute | Description |
index | number |
public renderMatches(matches: *, state: *, action: *) source
Params:
Name | Type | Attribute | Description |
matches | * | ||
state | * | ||
action | * |
public resolveIndex(path: string): * source
Finds child route's index by path
Params:
Name | Type | Attribute | Description |
path | string |
Return:
* |
public resolveRoute(index: number): * source
Finds child route by index
Params:
Name | Type | Attribute | Description |
index | number |
Return:
* |
public routetoIndex(index: number) source
Pushes a new route by index
Params:
Name | Type | Attribute | Description |
index | number |