UNPKG

coveo-search-ui-extensions

Version:

Small generic components to extend the functionality of Coveo's Search UI framework.

19 lines (18 loc) 718 B
import { StatefulActionButton, IStatefulActionButtonOptionsWithIcon } from './StatefulActionButton'; export interface IDisableableButtonOptions { disabledIcon: string; disabledTooltip: string; } export interface IDisableableButton { options: IDisableableButtonOptions; } export declare class DisabledState implements IStatefulActionButtonOptionsWithIcon { static DISABLED_CLASS_NAME: string; readonly onStateEntry: (this: StatefulActionButton) => void; readonly onStateExit: (this: StatefulActionButton) => void; readonly click: () => void; readonly icon: string; readonly tooltip: string; readonly name = "DisabledState"; constructor(disabledButton: IDisableableButton); }