Function
A pane with a title on top, that can be expanded or collapsed.
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.
// load a TitlePane from remote file: var foo = new dijit.TitlePane({ href: "foobar.html", title:"Title" }); foo.startup();
<!-- markup href example: --> <div dojoType="dijit.TitlePane" href="foobar.html" title="Title"></div>
<!-- markup with inline data --> <div dojoType="dijit.TitlePane" title="Title"> <p>I am content</p> </div>
String
Title of the pane
Boolean
Whether pane is opened or closed.
Boolean
Whether pane can be opened or closed by clicking the title bar.
String
Tabindex setting for the title (so users can tab to the title then use space/enter to open/close the title pane)
Integer
Time in milliseconds to fade in/fade out
String
The root className to be placed on this widget's domNode.
Function
Function
Function
True if you want to open the pane, false if you want to close it.
Hook to make set("open", boolean) control the open/closed state of the pane.
Function
True to allow user to open/close pane by clicking title bar.
Hook to make set("toggleable", boolean) work.
Function
Hook to make set("content", ...) work. Typically called when an href is loaded. Our job is to make the animation smooth.
Function
Switches between opened and closed state
Function
Set the open/close css state for the TitlePane
Function
Handler for when user hits a key
Function
Handler when user clicks the title bar
Function
Deprecated. Use set('title', ...) instead.
Object