Constructor
new ScrollPane(textopt)
ScrollPane constructor. Creates an instance of ScrollPane UI component.
| Name | Type | Attributes | Description |
|---|---|---|---|
text | string | <optional> | Text associated with this ScrollPane. It will be used, for example, for a tab name when this ScrollPane is added to Tabs component. |
Classes
Methods
addChild(component) → {this}
Adds a child component to this container component.
| Name | Type | Description |
|---|---|---|
component | Object | UI Component that can be a child of this component. |
Returns an instance of this component.
- Type:
- this