Setting.addTextArea method
Setting › addTextArea
Official
Add a text area component to the setting.Signature:
addTextArea(cb: (component: TextAreaComponent) => unknown): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| cb | (component: TextAreaComponent) => unknown | The callback to add the text area component. |
Returns: this — The setting.
Since: 0.9.7
Example:
setting.addTextArea((textArea) => { textArea.setValue('foo');});