Skip to content

Setting.addComponent method

Setting › addComponent

Official

Add a component to the setting.

Signature:

addComponent(cb: (el: HTMLElement) => T): this

Parameters:

ParameterTypeDescription
cb(el: HTMLElement) => T

Returns: this

Since: 1.11.0