SwapView
A SwapView widget is a container that can be swiped horizontally.
Note To behave properly, the SwapView needs to occupy the entire width of the screen.
Derived base
dojox.mobile.View
Properties
id
A unique ID string for the widget.
dataName
The name of a data element to which the widget is bound. If no data to be sent to the server, leave this property blank.
ECA editor support
Property that can be configured for the SwapView widget with the ECA editor
id
A unique ID string for the widget.
Applicable ECA part: Expression in Condition
Functions that can be configured for the SwapView widget with the ECA editor
set(name,value)
Set a value for a widget property.
Applicable ECA part: Actions
hide()
Hide the widget without the transition animation.
Applicable ECA part: Actions
performTransition(moveTo,transitionDir,transition)
Transition the current view to a destination view that is specified with the moveTo value. The transition direction and effect are also specified in this function.
Applicable ECA part: Actions
show()
Show the widget without the transition animation.
Applicable ECA part: Actions
get(name)
Returns the value of a widget property.
Applicable ECA part: Expression in Condition
isVisible
Return true if this view is visible.
Applicable ECA part: Expression in Condition
See also
This site works best with JavaScript enabled