The DOM element where to render the object.
DOM Element, default = null
Usually it is a DIV, but can be any block element.
If you change
.box property you will need to call
.render() method
to render widget inside the new DOM element. If you specify a selector, there is no need to define
.box because
it will be automatically set.
However, you could have created a layout without rendering it anywhere:
The layout is created in memory. You can render it in one of the following ways:
or
or