Members
_curPage :Page
Page area replaced if path changed.
Type:
- Page
- Source:
_curPage :Page
Page area replaced if path changed.
Type:
- Page
- Source:
_rootArea :View
Root area.
Type:
- Source:
_rootArea :View
Root area.
Type:
- Source:
Methods
_replaceContent(page, ctx)
Replace layer.
Parameters:
Name | Type | Description |
---|---|---|
page |
Class.<Page> | new page class. |
ctx |
Object | passing context. |
- Source:
_replaceContent(page, ctx)
Replace layer.
Parameters:
Name | Type | Description |
---|---|---|
page |
Class.<Page> | new page class. |
ctx |
Object | passing context. |
- Source:
_updateTitle()
Update page title of browser
- Source:
_updateTitle()
Update page title of browser
- Source:
activate(rootViewClass, routeMap, optsopt)
Activate application
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rootViewClass |
Class.<View> | root view class. | |||||||||||||||||
routeMap |
Object | routing map. | |||||||||||||||||
opts |
Object |
<optional> |
options.
Properties
|
- Source:
activate(rootViewClass, routeMap, optsopt)
Activate application
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rootViewClass |
Class.<View> | root view class. | |||||||||||||||||
routeMap |
Object | routing map. | |||||||||||||||||
opts |
Object |
<optional> |
options.
Properties
|
- Source:
back() → {boolean}
Back page.
- Source:
Returns:
- always false.
- Type
- boolean
back() → {boolean}
Back page.
- Source:
Returns:
- always false.
- Type
- boolean
go(path, ctx) → {boolean}
Go a page.
Parameters:
Name | Type | Description |
---|---|---|
path |
string | URL path |
ctx |
Object | context |
- Source:
Returns:
always false.
- Type
- boolean
go(path, ctx) → {boolean}
Go a page.
Parameters:
Name | Type | Description |
---|---|---|
path |
string | URL path |
ctx |
Object | context |
- Source:
Returns:
always false.
- Type
- boolean
replace(page, ctx)
Replace page.
Parameters:
Name | Type | Description |
---|---|---|
page |
Class.<Page> | Page class |
ctx |
* | context |
- Source:
replace(page, ctx)
Replace page.
Parameters:
Name | Type | Description |
---|---|---|
page |
Class.<Page> | Page class |
ctx |
* | context |
- Source: