Constructor
new ExpansionPanelView()
- Since:
- Source:
Extends
Members
className
- Source:
type :string
The type of View this is
Type:
- Source:
Methods
collapse()
Force the panel's content to be hidden.
- Source:
events()
The events this view will listen to and the associated function to call.
- Source:
getContent() → {HTMLDivElement}
Getter function for the content div.
- Source:
Returns:
Returns the content element.
-
Type
-
HTMLDivElement
initialize(options)
Initialize the view with the given options.
Parameters:
- Source:
open()
Force the panel's content to be shown.
- Source:
render()
Render the view by updating the HTML of the element.
The new HTML is computed from an HTML template that
is passed an object with relevant view state.
- Source:
toggle()
Toggle the visibility of the panel's content.
- Source: