Creates a new window element.
The options for the window
OptionalcollapseThe threshold at which the window can be collapsed
Optionalcollapsible?: booleanWhether the window can be collapsed
Optionaldraggable?: booleanWhether the window can be dragged
OptionaldragThe 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.
The append function appends a widget to a parent element and updates the list of children.
The widget to append.
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.
This class represents a window with various settings and the ability to add child elements.