Creates a new window element.
The options for the window
OptionalcollapseThreshold?: numberThe threshold at which the window can be collapsed
Optionalcollapsible?: booleanWhether the window can be collapsed
Optionaldraggable?: booleanWhether the window can be dragged
OptionaldragThreshold?: numberThe threshold at which the window can be dragged
Optionalexpanded?: booleanWhether the window is initially expanded
Optionalheight?: numberThe height of the window
Optionalresizable?: booleanWhether the window can be resized
Optionaltitle?: stringThe title of the window
Optionalwidth?: numberThe width of the window
Optionalx?: numberThe x position of the window
Optionaly?: numberThe y position of the window
The children getter returns the list of children.
Do the necessary initialization.
Add one or more classes to an element.
The append function appends a widget to a parent element and updates the list of children.
The widget to append.
The collapse function collapses the window.
The destroy function destroys the window.
The expand function expands the window.
The focus function sends the window to the top of the window stack and adds active class.
The getConfig function returns a JSON representation of all values in the window.
The getRef function returns the reference to the window element.
The hide function hides the window.
The loadConfig function loads a JSON configuration into the window.
The JSON configuration.
The move function moves the window to the specified coordinates.
The x coordinate of the window.
The y coordinate of the window.
Remove one or more classes from an element.
The resize function sets the width and height of the window.
The new width of the window
The new height of the window
The setContent function sets the content of a view.
The value parameter in the setContent function represents the content that you
want to set for a particular view. It is the data or information that you want to display or
update in the view.
The setHeight function sets the height of the window.
The setText function sets the text value of a view element.
The value parameter in the setText function represents the text that you want
to set for a particular view. It is the text that you want to display or update in the view.
Set the title of the window to the specified HTML string.
The HTML to set as the title
The setWidth function sets the width of the window.
The show function shows the window.
The toggle function toggles the window between collapsed and expanded.
This class represents a window with various settings and the ability to add child elements.