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/TitlePane.js

  • Provides:

    • dijit.TitlePane
  • Requires:

    • dojo.fx in common
    • dijit._Templated in common
    • dijit.layout.ContentPane in common
    • dijit._CssStateMixin in common
  • dijit.TitlePane

    • type
      Function
    • chains:
      • dijit.layout.ContentPane: (prototype)
      • dijit._Templated.prototype: (prototype)
      • dijit._CssStateMixin.prototype: (prototype)
      • dijit.layout.ContentPane: (call)
      • dijit._Templated: (call)
      • dijit._CssStateMixin: (call)
    • summary
      A pane with a title on top, that can be expanded or collapsed.
    • description
      An accessible container with a title Heading, and a content
      section that slides open and closed. TitlePane is an extension to
      `dijit.layout.ContentPane`, providing all the useful content-control aspects from it.
    • example
       	// load a TitlePane from remote file:
      	var foo = new dijit.TitlePane({ href: "foobar.html", title:"Title" });
      	foo.startup();
    • example
      	<!-- markup href example: -->
      	<div dojoType="dijit.TitlePane" href="foobar.html" title="Title"></div>
    • example
      	<!-- markup with inline data -->
       	<div dojoType="dijit.TitlePane" title="Title">
      		<p>I am content</p>
      	</div>
  • dijit.TitlePane.title

    • type
      String
    • summary
      Title of the pane
  • dijit.TitlePane.open

    • type
      Boolean
    • summary
      Whether pane is opened or closed.
  • dijit.TitlePane.toggleable

    • type
      Boolean
    • summary
      Whether pane can be opened or closed by clicking the title bar.
  • dijit.TitlePane.tabIndex

    • type
      String
    • summary
      Tabindex setting for the title (so users can tab to the title then
      use space/enter to open/close the title pane)
  • dijit.TitlePane.duration

    • alias - dijit.defaultDuration
    • type
      Integer
    • summary
      Time in milliseconds to fade in/fade out
  • dijit.TitlePane.baseClass

    • tags:
    • type
      String
    • summary
      The root className to be placed on this widget's domNode.
  • dijit.TitlePane.templateString

    • type
      Object
  • dijit.TitlePane.attributeMap

    • type
      Object
  • dijit.TitlePane.buildRendering

    • type
      Function
  • dijit.TitlePane.postCreate

    • type
      Function
  • dijit.TitlePane.hideNode

  • dijit.TitlePane.wipeNode

  • dijit.TitlePane._wipeIn

    • type
      Object
  • dijit.TitlePane._wipeOut

    • type
      Object
  • dijit.TitlePane._setOpenAttr

    • parameters:
      • open: (typeof Boolean)
        True if you want to open the pane, false if you want to close it.
      • animate: (typeof Boolean)
    • summary
      Hook to make set(&quot;open&quot;, boolean) control the open/closed state of the pane.
    • type
      Function
  • dijit.TitlePane.hideNode.style.display

    • type
      String
  • dijit.TitlePane.wipeNode.style.display

  • dijit.TitlePane.arrowNodeInner.innerHTML

  • dijit.TitlePane._setToggleableAttr

    • parameters:
      • canToggle: (typeof Boolean)
        True to allow user to open/close pane by clicking title bar.
    • summary
      Hook to make set(&quot;toggleable&quot;, boolean) work.
    • type
      Function
  • dijit.TitlePane._setContentAttr

    • parameters:
      • content: (typeof String|DomNode|Nodelist)
    • summary
      Hook to make set(&quot;content&quot;, ...) work.
      Typically called when an href is loaded.  Our job is to make the animation smooth.
    • type
      Function
  • dijit.TitlePane.toggle

    • summary
      Switches between opened and closed state
    • tags:
    • type
      Function
  • dijit.TitlePane._setCss

    • summary
      Set the open/close css state for the TitlePane
    • tags:
    • type
      Function
  • dijit.TitlePane.titleBarNode

    • type
      Object
  • dijit.TitlePane._titleBarClass

    • type
      String
  • dijit.TitlePane._onTitleKey

    • parameters:
      • e: (typeof Event)
    • summary
      Handler for when user hits a key
    • tags:
    • type
      Function
  • dijit.TitlePane._onTitleClick

    • summary
      Handler when user clicks the title bar
    • tags:
    • type
      Function
  • dijit.TitlePane.setTitle

    • parameters:
      • title: (typeof String)
    • summary
      Deprecated.  Use set('title', ...) instead.
    • tags:
    • type
      Function
  • dijit

    • type
      Object