Setting.addComponent method
Setting › addComponent
Official
Add a component to the setting.Signature:
addComponent(cb: (el: HTMLElement) => T): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| cb | (el: HTMLElement) => T |
Returns: this
Since: 1.11.0
Setting › addComponent
Official
Add a component to the setting.Signature:
addComponent(cb: (el: HTMLElement) => T): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| cb | (el: HTMLElement) => T |
Returns: this
Since: 1.11.0