When true, the Expand widget will close after the Escape key is pressed when the keyboard focus is within its content.
Icon font used to style the Expand button.
Tooltip to display to indicate Expand widget can be collapsed.
The ID or node representing the DOM element containing the widget.
The content to display within the expanded Expand widget.
Icon font used to style the Expand button.
Tooltip to display to indicate Expand widget can be expanded.
Indicates whether the widget is currently expanded or not.
This value associates two or more Expand widget instances with each other, allowing one instance to auto collapse when another instance in the same group is expanded.
A number to display at the corner of the widget to indicate the number of, for example, open issues or unread notices.
The unique ID assigned to the widget when the widget is created.
The widget's label.
The mode in which the widget displays.
The view model for this widget.
Indicates whether the widget is visible.
A utility method used for building the value for a widget's class
property.
Collapse the widget.
Destroys the widget instance.
Emits an event on the instance.
Expand the widget.
Indicates whether there is an event listener on the instance that matches the provided event name.
isFulfilled()
may be used to verify if creating an instance of the class is fulfilled (either resolved or rejected).
isRejected()
may be used to verify if creating an instance of the class is rejected.
isResolved()
may be used to verify if creating an instance of the class is resolved.
Registers an event handler on the instance.
Widget teardown helper.
This method is primarily used by developers when implementing custom widgets. Executes after widget is ready for rendering.
This method is primarily used by developers when implementing custom widgets. It must be implemented by subclasses for rendering.
Renders widget to the DOM immediately.
This method is primarily used by developers when implementing custom widgets. Schedules widget rendering.
Toggle the widget by expanding it if it's collapsed, or collapsing it if it's expanded.
when()
may be leveraged once an instance of the class is created.
Generated using TypeDoc
Automatically collapses the expand widget instance when the view's viewpoint updates.
Read more...