Skip to content

Setting.addComponent method

Setting › addComponent

Official

Add a component to the setting.

Signature:

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

Parameters:

Parameter Type Description
cb (el: HTMLElement) => T

Returns: this

Since: 1.11.0