See the dojox/app/controllers/History reference documentation for more information.
Persistent variable which indicates the current position/index in the history (so as to be able to figure out whether the popState event was triggerd by a backward or forward action).
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.
Parameter | Type | Description |
---|---|---|
evt | undefined |
Response to dojox/app "popstate" event.
Parameter | Type | Description |
---|---|---|
evt | Object | Transition options parameter |
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();