Skip to content
On this page

ExtraButtonComponent

继承自 BaseComponent

Constructor

ts
constructor(containerEl: HTMLElement);

Properties

extraSettingsEl

ts
extraSettingsEl: HTMLElement

Methods

setDisabled

ts
setDisabled(disabled: boolean): this;

setTooltip

ts
setTooltip(tooltip: string, options?: TooltipOptions): this;

setIcon

ts
setIcon(icon: IconName): this;

onClick

ts
onClick(callback: () => any): this;