Creates a new window element.
The options for the window
Optional
collapseThe threshold at which the window can be collapsed
Optional
collapsible?: booleanWhether the window can be collapsed
Optional
draggable?: booleanWhether the window can be dragged
Optional
dragThe threshold at which the window can be dragged
Optional
expanded?: booleanWhether the window is initially expanded
Optional
height?: numberThe height of the window
Optional
resizable?: booleanWhether the window can be resized
Optional
title?: stringThe title of the window
Optional
width?: numberThe width of the window
Optional
x?: numberThe x position of the window
Optional
y?: 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.