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

dijit/layout/AccordionContainer.js

  • Provides:

    • dijit.layout.AccordionContainer
  • Requires:

    • dijit._Container in common
    • dijit._Templated in common
    • dijit._CssStateMixin in common
    • dijit.layout.StackContainer in common
    • dijit.layout.ContentPane in common
    • dijit.layout.AccordionPane in common
  • dijit.layout.AccordionContainer

    • type
      Function
    • chains:
      • dijit.layout.StackContainer: (prototype)
      • dijit.layout.StackContainer: (call)
    • summary
      Holds a set of panes where every pane's title is visible, but only one pane's content is visible at a time,
      and switching between panes is visualized by sliding the other panes up/down.
    • example
       	<div dojoType="dijit.layout.AccordionContainer">
      		<div dojoType="dijit.layout.ContentPane" title="pane 1">
      		</div>
      		<div dojoType="dijit.layout.ContentPane" title="pane 2">
      			<p>This is some text</p>
      		</div>
      	</div>
  • dijit.layout.AccordionContainer.duration

    • alias - dijit.defaultDuration
    • type
      Integer
    • summary
      Amount of time (in ms) it takes to slide panes
  • dijit.layout.AccordionContainer.buttonWidget

    • tags: const
    • type
      String
    • summary
      The name of the widget used to display the title of each pane
  • dijit.layout.AccordionContainer._verticalSpace

    • type
      Number
    • summary
      Pixels of space available for the open pane
      (my content box size minus the cumulative size of all the title bars)
  • dijit.layout.AccordionContainer.baseClass

    • type
      String
  • dijit.layout.AccordionContainer.buildRendering

    • type
      Function
  • dijit.layout.AccordionContainer.domNode.style.overflow

    • type
      String
  • dijit.layout.AccordionContainer.startup

    • type
      Function
  • dijit.layout.AccordionContainer.selectedChildWidget.containerNode.style

  • dijit.layout.AccordionContainer.selectedChildWidget.containerNode.style.display

    • type
      String
  • dijit.layout.AccordionContainer.selectedChildWidget.containerNode.style.overflow

    • type
      String
  • dijit.layout.AccordionContainer.layout

    • type
      Function
  • dijit.layout.AccordionContainer.selectedChildWidget

  • dijit.layout.AccordionContainer.selectedChildWidget._wrapperWidget.domNode

  • dijit.layout.AccordionContainer.selectedChildWidget._wrapperWidget.containerNode

  • dijit.layout.AccordionContainer._contentBox

  • dijit.layout.AccordionContainer._containerContentBox

    • type
      Object
  • dijit.layout.AccordionContainer._setupChild

    • parameters:
      • child
    • type
      Function
  • dijit.layout.AccordionContainer.addChild

    • parameters:
      • child: (typeof dijit._Widget)
      • insertIndex: (typeof Integer)
    • type
      Function
  • dijit.layout.AccordionContainer.removeChild

    • parameters:
      • child
    • type
      Function
  • dijit.layout.AccordionContainer.getChildren

    • type
      Function
  • dijit.layout.AccordionContainer.destroy

    • type
      Function
  • dijit.layout.AccordionContainer._showChild

    • parameters:
      • child
    • type
      Function
  • dijit.layout.AccordionContainer._hideChild

    • parameters:
      • child
    • type
      Function
  • dijit.layout.AccordionContainer._transition

    • parameters:
      • newWidget: (typeof dijit._Widget)
      • oldWidget: (typeof dijit._Widget)
      • animate: (typeof Boolean)
    • returns
      If child has an href, promise that fires when the widget has finished loading
    • type
      Function
  • dijit.layout.AccordionContainer._animation

    • type
      Object
  • dijit.layout.AccordionContainer._animation.onStop

  • dijit.layout.AccordionContainer._onKeyPress

    • parameters:
      • e: (typeof Event)
      • fromTitle: (typeof dijit._Widget)
    • summary
      Handle keypress events
    • description
      This is called from a handler on AccordionContainer.domNode
      (setup in StackContainer), and is also called directly from
      the click handler for accordion labels
    • type
      Function
  • dijit.layout._AccordionInnerContainer

    • type
      Function
    • chains:
      • dijit._Widget: (prototype)
      • dijit._CssStateMixin.prototype: (prototype)
      • dijit._Widget: (call)
      • dijit._CssStateMixin: (call)
    • summary
      Internal widget placed as direct child of AccordionContainer.containerNode.
      When other widgets are added as children to an AccordionContainer they are wrapped in
      this widget.
  • dijit.layout._AccordionInnerContainer.buttonWidget

    • type
      String
    • summary
      Name of class to use to instantiate title
      (Wish we didn't have a separate widget for just the title but maintaining it
      for backwards compatibility, is it worth it?)
  • dijit.layout._AccordionInnerContainer.contentWidget

    • type
      dijit._Widget
    • summary
      Pointer to the real child widget
  • dijit.layout._AccordionInnerContainer.baseClass

    • type
      String
  • dijit.layout._AccordionInnerContainer.isContainer

    • type
      Object
  • dijit.layout._AccordionInnerContainer.isLayoutContainer

    • type
      Object
  • dijit.layout._AccordionInnerContainer.buildRendering

    • type
      Function
  • dijit.layout._AccordionInnerContainer.domNode

    • type
      Object
  • dijit.layout._AccordionInnerContainer.button

    • type
      Object
  • dijit.layout._AccordionInnerContainer.contentWidget._buttonWidget

    • type
      Object
  • dijit.layout._AccordionInnerContainer.containerNode

    • type
      Object
  • dijit.layout._AccordionInnerContainer.postCreate

    • type
      Function
  • dijit.layout._AccordionInnerContainer._contentWidgetWatches

    • type
      Array
  • dijit.layout._AccordionInnerContainer._setSelectedAttr

    • parameters:
      • isSelected: (typeof Boolean)
    • type
      Function
  • dijit.layout._AccordionInnerContainer.startup

    • type
      Function
  • dijit.layout._AccordionInnerContainer.destroy

    • type
      Function
  • dijit.layout._AccordionInnerContainer.destroyDescendants

    • type
      Function
  • dijit.layout._AccordionButton

    • type
      Function
    • chains:
      • dijit._Widget: (prototype)
      • dijit._Templated.prototype: (prototype)
      • dijit._CssStateMixin.prototype: (prototype)
      • dijit._Widget: (call)
      • dijit._Templated: (call)
      • dijit._CssStateMixin: (call)
    • summary
      The title bar to click to open up an accordion pane.
      Internal widget used by AccordionContainer.
    • tags:
  • dijit.layout._AccordionButton.templateString

    • type
      Object
  • dijit.layout._AccordionButton.attributeMap

    • type
      Object
  • dijit.layout._AccordionButton.baseClass

    • type
      String
  • dijit.layout._AccordionButton.getParent

    • summary
      Returns the AccordionContainer parent.
    • tags:
    • type
      Function
  • dijit.layout._AccordionButton.buildRendering

    • type
      Function
  • dijit.layout._AccordionButton.getTitleHeight

    • returns
      Integer
    • summary
      Returns the height of the title dom node.
    • type
      Function
  • dijit.layout._AccordionButton._onTitleClick

    • summary
      Callback when someone clicks my title.
    • type
      Function
  • dijit.layout._AccordionButton._onTitleKeyPress

    • parameters:
      • evt: (typeof Event)
    • type
      Function
  • dijit.layout._AccordionButton._setSelectedAttr

    • parameters:
      • isSelected: (typeof Boolean)
    • type
      Function
  • dijit.layout

    • type
      Object
  • dijit

    • type
      Object