Parameter | Type | Description |
---|---|---|
app | undefined | dojox/app application instance. |
Add hash to application history stack, update history management flags.
Parameter | Type | Description |
---|---|---|
hash | undefined | new hash should be added to _historyStack. |
Parameter | Type | Description |
---|---|---|
currentHash | undefined | |
detail | undefined |
Parameter | Type | Description |
---|---|---|
currentHash | undefined | |
detail | undefined |
Parameter | Type | Description |
---|---|---|
index | undefined | |
step | undefined |
Bind event on dojo/Evented instance, document, domNode or window. Save event signal in controller instance. If no parameter is provided automatically bind all events registered in controller events property.
Parameter | Type | Description |
---|---|---|
evented | Object | dojo/Evented instance, document, domNode or window |
event | String | event |
handler | Function | event handler |
Bind event on dojo/Evented instance, document, domNode or window. Save event signal in controller instance. If no parameter is provided automatically bind all events registered in controller events property.
remove a binded event signal.
Parameter | Type | Description |
---|---|---|
evented | Object | dojo/Evented instance, document, domNode or window |
event | String | event |
remove a binded event signal.
subscribe /dojo/hashchange and do add history, back, forward and go operation.
Parameter | Type | Description |
---|---|---|
currentHash | undefined | the new url hash when /dojo/hashchange is triggered. |
Parameter | Type | Description |
---|---|---|
evt | undefined |
Response to dojox/app "startTransition" event.
Parameter | Type | Description |
---|---|---|
evt | Object | transition options parameter |
Use "dojox/mobile/TransitionEvent" to trigger "startTransition" event, and this function will response the event. For example:
var transOpts = { title:"List", target:"items,list", url: "#items,list" params: {"param1":"p1value"} }; new TransitionEvent(domNode, transOpts, e).dispatch();