Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/mobile/_base.js

  • Provides:

    • dojox.mobile._base
  • Requires:

    • dijit._WidgetBase in common
  • dojox.mobile.View

    • type
      Function
    • chains:
      • dijit._WidgetBase: (prototype)
      • dijit._WidgetBase: (call)
    • parameters:
      • params
      • node
    • summary
      A widget that represents a view that occupies the full screen
    • description
      View acts as a container for any HTML and/or widgets. An entire HTML page
      can have multiple View widgets and the user can navigate through
      the views back and forth without page transitions.
  • dojox.mobile.View.selected

    • type
      Boolean
    • summary
      If true, the view is displayed at startup time.
  • dojox.mobile.View.keepScrollPos

    • type
      Boolean
    • summary
      If true, the scroll position is kept between views.
  • dojox.mobile.View._started

    • type
      Object
  • dojox.mobile.View.constructor

    • constructor - constructor
    • type
      Function
    • parameters:
      • params
      • node
  • dojox.mobile.View.buildRendering

    • type
      Function
  • dojox.mobile.View.domNode

    • type
      Object
  • dojox.mobile.View.containerNode

    • type
      Object
  • dojox.mobile.View.domNode.className

    • type
      String
  • dojox.mobile.View._visible

    • type
      bool
  • dojox.mobile.View.startup

    • type
      Function
  • dojox.mobile.View.onStartView

    • type
      Function
  • dojox.mobile.View.onBeforeTransitionIn

    • parameters:
      • moveTo
      • dir
      • transition
      • context
      • method
    • type
      Function
  • dojox.mobile.View.onAfterTransitionIn

    • parameters:
      • moveTo
      • dir
      • transition
      • context
      • method
    • type
      Function
  • dojox.mobile.View.onBeforeTransitionOut

    • parameters:
      • moveTo
      • dir
      • transition
      • context
      • method
    • type
      Function
  • dojox.mobile.View.onAfterTransitionOut

    • parameters:
      • moveTo
      • dir
      • transition
      • context
      • method
    • type
      Function
  • dojox.mobile.View._saveState

    • parameters:
      • moveTo
      • dir
      • transition
      • context
      • method
    • type
      Function
  • dojox.mobile.View._context

  • dojox.mobile.View._method

  • dojox.mobile.View._moveTo

  • dojox.mobile.View._dir

  • dojox.mobile.View._transition

  • dojox.mobile.View._arguments

    • type
      Array
  • dojox.mobile.View._args

    • type
      Array
  • dojox.mobile.View.performTransition

    • parameters:
      • moveTo: (typeof String)
        The destination view id to transition the current view to.
        If null, transitions to a blank view.
      • dir: (typeof Number)
        The transition direction. If 1, transition forward. If -1, transition backward.
        For example, the slide transition slides the view from right to left when dir == 1,
        and from left to right when dir == -1.
        transision: String
        The type of transition to perform. "slide", "fade", or "flip"
      • transition: (typeof String)
      • context: (typeof Object|null)
        Object The object that the callback function will receive as "this".
      • method: (typeof String|Function)
        A callback function that is called when the transition has been finished.
        A function reference, or name of a function in context.
    • summary
      Function to perform the various types of view transitions, such as fade, slide, and flip.
    • tags: public
    • example
      Transitions to the blank view, and then opens another page.
      	performTransition(null, 1, "slide", null, function(){location.href = href;});
    • type
      Function
  • dojox.mobile.View._dummyNode

    • type
      Object
  • dojox.mobile.View.toNode

    • type
      Object
  • dojox.mobile.View.domNode.style.top

    • type
      String
  • dojox.mobile.View._doTransition

    • parameters:
      • fromNode
      • toNode
      • transition
      • dir
    • type
      Function
  • dojox.mobile.View.domNode.style.display

    • type
      String
  • dojox.mobile.View.onAnimationStart

    • parameters:
      • e
    • type
      Function
  • dojox.mobile.View.onAnimationEnd

    • parameters:
      • e
    • type
      Function
  • dojox.mobile.View.invokeCallback

    • type
      Function
  • dojox.mobile.View.getShowingView

    • summary
      Find the currently showing view from my sibling views.
    • description
      Note that dojox.mobile.currentView is the last shown view.
      If the page consists of a splitter, there are multiple showing views.
    • type
      Function
  • dojox.mobile.View.domNode.parentNode.childNodes

  • dojox.mobile.View.show

    • summary
      Shows this view without a transition animation.
    • type
      Function
  • dojox.mobile.View.domNode.style

  • dojox.mobile.View.addChild

    • parameters:
      • widget
    • type
      Function
  • dojox.mobile.Heading

    • type
      Function
    • chains:
      • dijit._WidgetBase: (prototype)
      • dijit._WidgetBase: (call)
  • dojox.mobile.Heading.back

    • type
      String
  • dojox.mobile.Heading.href

    • type
      String
  • dojox.mobile.Heading.moveTo

    • type
      String
  • dojox.mobile.Heading.transition

    • type
      String
  • dojox.mobile.Heading.label

    • type
      Object
  • dojox.mobile.Heading.iconBase

    • type
      String
  • dojox.mobile.Heading.buildRendering

    • type
      Function
  • dojox.mobile.Heading.domNode

    • type
      Object
  • dojox.mobile.Heading.containerNode

    • type
      Object
  • dojox.mobile.Heading.domNode.className

    • type
      String
  • dojox.mobile.Heading._view

    • type
      Object
  • dojox.mobile.Heading._body

  • dojox.mobile.Heading._head

  • dojox.mobile.Heading._btn

  • dojox.mobile.Heading.startup

    • type
      Function
  • dojox.mobile.Heading._btn.style.width

    • type
      String
  • dojox.mobile.Heading.onClick

    • parameters:
      • e
    • type
      Function
  • dojox.mobile.Heading.setLabel

    • parameters:
      • label
    • type
      Function
  • dojox.mobile.Heading.domNode.firstChild.nodeValue

  • dojox.mobile.Heading.goTo

    • parameters:
      • moveTo
      • href
    • type
      Function
  • dojox.mobile.RoundRect

    • type
      Function
    • chains:
      • dijit._WidgetBase: (prototype)
      • dijit._WidgetBase: (call)
  • dojox.mobile.RoundRect.shadow

    • type
      bool
  • dojox.mobile.RoundRect.buildRendering

    • type
      Function
  • dojox.mobile.RoundRect.domNode

    • type
      Object
  • dojox.mobile.RoundRect.containerNode

    • type
      Object
  • dojox.mobile.RoundRect.domNode.className

  • dojox.mobile.RoundRectCategory

    • type
      Function
    • chains:
      • dijit._WidgetBase: (prototype)
      • dijit._WidgetBase: (call)
  • dojox.mobile.RoundRectCategory.label

    • type
      String
  • dojox.mobile.RoundRectCategory.buildRendering

    • type
      Function
  • dojox.mobile.RoundRectCategory.domNode

    • type
      Object
  • dojox.mobile.RoundRectCategory.containerNode

    • type
      Object
  • dojox.mobile.RoundRectCategory.domNode.className

    • type
      String
  • dojox.mobile.RoundRectCategory.domNode.innerHTML

  • dojox.mobile.EdgeToEdgeCategory

    • type
      Function
    • chains:
      • dojox.mobile.RoundRectCategory: (prototype)
      • dojox.mobile.RoundRectCategory: (call)
  • dojox.mobile.EdgeToEdgeCategory.buildRendering

    • type
      Function
  • dojox.mobile.EdgeToEdgeCategory.domNode.className

    • type
      String
  • dojox.mobile.RoundRectList

    • type
      Function
    • chains:
      • dijit._WidgetBase: (prototype)
      • dijit._WidgetBase: (call)
  • dojox.mobile.RoundRectList.transition

    • type
      String
  • dojox.mobile.RoundRectList.iconBase

    • type
      String
  • dojox.mobile.RoundRectList.iconPos

    • type
      String
  • dojox.mobile.RoundRectList.buildRendering

    • type
      Function
  • dojox.mobile.RoundRectList.domNode

    • type
      Object
  • dojox.mobile.RoundRectList.containerNode

    • type
      Object
  • dojox.mobile.RoundRectList.domNode.className

    • type
      String
  • dojox.mobile.RoundRectList.addChild

    • parameters:
      • widget
    • type
      Function
  • dojox.mobile.EdgeToEdgeList

    • type
      Function
    • chains:
      • dojox.mobile.RoundRectList: (prototype)
      • dojox.mobile.RoundRectList: (call)
  • dojox.mobile.EdgeToEdgeList.stateful

    • type
      bool
  • dojox.mobile.EdgeToEdgeList.buildRendering

    • type
      Function
  • dojox.mobile.EdgeToEdgeList.domNode.className

    • type
      String
  • dojox.mobile.AbstractItem

    • type
      Function
    • chains:
      • dijit._WidgetBase: (prototype)
      • dijit._WidgetBase: (call)
  • dojox.mobile.AbstractItem.icon

    • type
      String
  • dojox.mobile.AbstractItem.iconPos

    • type
      String
  • dojox.mobile.AbstractItem.href

    • type
      String
  • dojox.mobile.AbstractItem.hrefTarget

    • type
      String
  • dojox.mobile.AbstractItem.moveTo

    • type
      String
  • dojox.mobile.AbstractItem.scene

    • type
      String
  • dojox.mobile.AbstractItem.clickable

    • type
      bool
  • dojox.mobile.AbstractItem.url

    • type
      String
  • dojox.mobile.AbstractItem.urlTarget

    • type
      String
  • dojox.mobile.AbstractItem.transition

    • type
      String
  • dojox.mobile.AbstractItem.transitionDir

    • type
      Number
  • dojox.mobile.AbstractItem.callback

    • type
      Object
  • dojox.mobile.AbstractItem.sync

    • type
      Object
  • dojox.mobile.AbstractItem.label

    • type
      String
  • dojox.mobile.AbstractItem.toggle

    • type
      bool
  • dojox.mobile.AbstractItem._duration

    • type
      Number
  • dojox.mobile.AbstractItem.inheritParams

    • type
      Function
  • dojox.mobile.AbstractItem.findCurrentView

    • parameters:
      • moveTo
    • type
      Function
  • dojox.mobile.AbstractItem.transitionTo

    • parameters:
      • moveTo
      • href
      • url
      • scene
    • type
      Function
  • dojox.mobile.AbstractItem._text

    • type
      Object
  • dojox.mobile.AbstractItem._parse

    • parameters:
      • text
    • type
      Function
  • dojox.mobile.AbstractItem._ws

    • type
      Object
  • dojox.mobile.AbstractItem._instantiate

    • parameters:
      • obj: (typeof Object)
      • node: (typeof DomNode)
      • parent: (typeof Widget)
    • type
      Function
  • dojox.mobile.AbstractItem.createDomButton

    • parameters:
      • refNode: (typeof DomNode)
      • toNode: (typeof DomNode)
    • type
      Function
  • dojox.mobile.AbstractItem.select

    • parameters:
      • deselect: (typeof Boolean)
    • type
      Function
  • dojox.mobile.AbstractItem.defaultClickAction

    • type
      Function
  • dojox.mobile.AbstractItem.getParentWidget

    • type
      Function
  • dojox.mobile.AbstractItem.srcNodeRef

    • type
      Object
  • dojox.mobile.ListItem

    • type
      Function
    • chains:
      • dojox.mobile.AbstractItem: (prototype)
      • dojox.mobile.AbstractItem: (call)
  • dojox.mobile.ListItem.rightText

    • type
      String
  • dojox.mobile.ListItem.btnClass

    • type
      String
  • dojox.mobile.ListItem.anchorLabel

    • type
      bool
  • dojox.mobile.ListItem.noArrow

    • type
      bool
  • dojox.mobile.ListItem.selected

    • type
      bool
  • dojox.mobile.ListItem.buildRendering

    • type
      Function
  • dojox.mobile.ListItem.anchorNode

    • type
      Object
  • dojox.mobile.ListItem.srcNodeRef

  • dojox.mobile.ListItem.srcNodeRef.childNodes.length

  • dojox.mobile.ListItem.btnNode

    • type
      Object
  • dojox.mobile.ListItem.domNode

    • type
      Object
  • dojox.mobile.ListItem.containerNode

    • type
      Object
  • dojox.mobile.ListItem.setIcon

    • type
      Function
  • dojox.mobile.ListItem.iconNode

    • type
      Object
  • dojox.mobile.ListItem.onClick

    • parameters:
      • e
    • returns
      already selected
    • type
      Function
  • dojox.mobile.ListItem.onAnchorLabelClicked

    • parameters:
      • e
    • type
      Function
  • dojox.mobile.ListItem._setRightTextAttr

    • parameters:
      • text: (typeof String)
    • type
      Function
  • dojox.mobile.ListItem._rightTextNode

    • type
      Object
  • dojox.mobile.ListItem._rightTextNode.innerHTML

  • dojox.mobile.Switch

    • type
      Function
    • chains:
      • dijit._WidgetBase: (prototype)
      • dijit._WidgetBase: (call)
  • dojox.mobile.Switch.value

    • type
      String
  • dojox.mobile.Switch.leftLabel

    • type
      String
  • dojox.mobile.Switch.rightLabel

    • type
      String
  • dojox.mobile.Switch._width

    • type
      Number
  • dojox.mobile.Switch.buildRendering

    • type
      Function
  • dojox.mobile.Switch.domNode

    • type
      Object
  • dojox.mobile.Switch.domNode.className

    • type
      String
  • dojox.mobile.Switch.domNode.innerHTML

    • type
      String
  • dojox.mobile.Switch.inner

  • dojox.mobile.Switch.left

  • dojox.mobile.Switch.right

  • dojox.mobile.Switch.knob

  • dojox.mobile.Switch.postCreate

    • type
      Function
  • dojox.mobile.Switch._changeState

    • parameters:
      • state: (typeof String)
    • type
      Function
  • dojox.mobile.Switch.inner.style.left

    • type
      String
  • dojox.mobile.Switch.onClick

    • parameters:
      • e
    • type
      Function
  • dojox.mobile.Switch.onTouchStart

    • parameters:
      • e
    • type
      Function
  • dojox.mobile.Switch._moved

    • type
      Object
  • dojox.mobile.Switch.innerStartX

  • dojox.mobile.Switch.touchStartX

  • dojox.mobile.Switch._conn1

    • type
      Object
  • dojox.mobile.Switch._conn2

    • type
      Object
  • dojox.mobile.Switch.left.style.display

    • type
      String
  • dojox.mobile.Switch.right.style.display

    • type
      String
  • dojox.mobile.Switch.onTouchMove

    • parameters:
      • e
    • type
      Function
  • dojox.mobile.Switch.onTouchEnd

    • parameters:
      • e
    • type
      Function
  • dojox.mobile.Switch.onStateChanged

    • parameters:
      • newState: (typeof String)
    • type
      Function
  • dojox.mobile.Button

    • type
      Function
    • chains:
      • dijit._WidgetBase: (prototype)
      • dijit._WidgetBase: (call)
  • dojox.mobile.Button.btnClass

    • type
      String
  • dojox.mobile.Button.duration

    • type
      Number
  • dojox.mobile.Button.label

    • type
      Object
  • dojox.mobile.Button.buildRendering

    • type
      Function
  • dojox.mobile.Button.domNode

    • type
      Object
  • dojox.mobile.Button.containerNode

    • type
      Object
  • dojox.mobile.Button.domNode.className

    • type
      String
  • dojox.mobile.Button.domNode.innerHTML

  • dojox.mobile.Button.onClick

    • parameters:
      • e
    • type
      Function
  • dojox.mobile.ToolBarButton

    • type
      Function
    • chains:
      • dojox.mobile.AbstractItem: (prototype)
      • dojox.mobile.AbstractItem: (call)
  • dojox.mobile.ToolBarButton.selected

    • type
      bool
  • dojox.mobile.ToolBarButton._defaultColor

    • type
      String
  • dojox.mobile.ToolBarButton._selColor

    • type
      String
  • dojox.mobile.ToolBarButton.buildRendering

    • type
      Function
  • dojox.mobile.ToolBarButton.domNode

    • type
      Object
  • dojox.mobile.ToolBarButton.containerNode

    • type
      Object
  • dojox.mobile.ToolBarButton.domNode.innerHTML

  • dojox.mobile.ToolBarButton.label

  • dojox.mobile.ToolBarButton.iconNode

  • dojox.mobile.ToolBarButton.select

    • parameters:
      • deselect: (typeof Boolean)
    • type
      Function
  • dojox.mobile.ToolBarButton.onClick

    • parameters:
      • e
    • type
      Function
  • dojox.mobile.ProgressIndicator

    • type
      Function
  • dojox.mobile.ProgressIndicator.interval

    • type
      Number
  • dojox.mobile.ProgressIndicator.colors

    • type
      Array
  • dojox.mobile.ProgressIndicator._bars

    • type
      Array
  • dojox.mobile.ProgressIndicator.constructor

    • constructor - constructor
    • type
      Function
  • dojox.mobile.ProgressIndicator.start

    • type
      Function
  • dojox.mobile.ProgressIndicator.timer

    • type
      Object
  • dojox.mobile.ProgressIndicator.stop

    • type
      Function
  • dojox.mobile.ProgressIndicator.domNode

    • type
      Object
  • dojox.mobile.ProgressIndicator.domNode.className

    • type
      String
  • dojo.isBB

  • dojox.mobile.ProgressIndicator._instance

    • type
      Object
  • dojox.mobile.ProgressIndicator.getInstance

    • type
      Function
  • dojox.mobile.addClass

    • summary
      Adds a theme class name to <body>.
    • description
      Finds the currently applied theme name, such as 'iphone' or 'android'
      from link elements, and adds it as a class name for the body element.
    • type
      Function
  • dojox.mobile.theme

    • alias - RegExp.$1
  • dojox.mobile.setupIcon

    • parameters:
      • iconNode: (typeof DomNode)
      • iconPos: (typeof String)
    • type
      Function
  • dojox.mobile.hideAddressBar

    • type
      Function
  • dojox.mobile.openWindow

    • parameters:
      • url
      • target
    • type
      Function
  • dijit.getEnclosingWidget

    • parameters:
      • node
    • type
      Function
  • dojox.mobile._base

    • type
      Object
  • dojox.mobile

    • type
      Object
  • dojox

    • type
      Object