Development tools : XUI Mobile editor : Adding Mobile widgets : XUI Mobile widgets : MobileView
  
MobileView
A MobileView widget is a container that represents the entire mobile device screen. The MobileView widget can contain other widgets, containers, and views. A MobileView widget typically contains a Heading widget and multiple ScrollableView widgets. You can manually add the MobileView widget to a MobileDevice container by using the Items editor.
Derived base
dojox.mobile.View
Properties
id
A unique ID string for the widget.
showHeading
true
This is the default value. A heading is displayed at the top of the view.
false
No heading is displayed initially.
ECA editor support
Events that can be added to the MobileView widget with the ECA editor
onAfterTransitionIn
This event is called immediately after a view transition that makes this view visible.
onAfterTransitionOut
This event is called immediately after a view transition that makes this view invisible.
onAnimationEnd
This event is called when the transition animation ends.
onBeforeTransitionIn
This event is called immediately before a view transition that makes this view visible.
onBeforeTransitionOut
This event is called immediately before a view transition that makes this view invisible.
Property that can be configured for the MobileView 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 MobileView 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
XUI Mobile widgets