ButtonComponent
Extends BaseComponent
#
Constructorconstructor(containerEl: HTMLElement);
#
Properties#
buttonElbuttonEl: HTMLButtonElement
#
Methods#
setDisabledsetDisabled(disabled: boolean): this;
#
setCtasetCta(): this;
#
removeCtaremoveCta(): this;
#
setWarningsetWarning(): this;
#
setTooltipsetTooltip(tooltip: string): this;
#
setButtonTextsetButtonText(name: string): this;
#
setIconsetIcon(icon: string): this;
#
setClasssetClass(cls: string): this;
#
onClickonClick(callback: (evt: MouseEvent) => any): this;