Skip to content

ExtraButtonComponent.setIcon method

ExtraButtonComponent › setIcon

Official

Set the icon of the extra button.

Signature:

setIcon(icon: string): this

Parameters:

Parameter Type Description
icon string ID of the icon, can use any icon loaded with {@link addIcon} or from the inbuilt library.

Returns: this

Since: 0.9.7