UNPKG

@textbus/editor

Version:

Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.

19 lines (18 loc) 517 B
export interface UISegmentDropdownConfig { iconClasses?: string[]; classes?: string[]; label?: string; tooltip?: string; menuView: HTMLElement; stickyElement: HTMLElement; onLeftButtonClick(): void; } export interface UISegmentDropdown { elementRef: HTMLElement; leftButton: HTMLButtonElement; disabled: boolean; highlight: boolean; hide(): void; destroy(): void; } export declare function createSegmentDropdown(config: UISegmentDropdownConfig): UISegmentDropdown;