UNPKG

@public-ui/components

Version:

Contains all web components that belong to KoliBri - The accessible HTML-Standard.

20 lines (19 loc) 718 B
import type { JSX } from '../../stencil-public-runtime'; import type { LabelPropType, ToolbarAPI, ToolbarStates, ToolbarItemsPropType } from '../../schema'; export declare class KolToolbar implements ToolbarAPI { host: HTMLElement; state: ToolbarStates; private currentIndex; private indexToElement; private renderItem; render(): JSX.Element; _label: string; _items: ToolbarItemsPropType; validateLabel(value?: LabelPropType): void; validateItems(value?: ToolbarItemsPropType): void; private getCurrentToolbarItem; private setFirstEnabledItemIndex; handleKeyDown(event: KeyboardEvent): void; handleBlur(event: FocusEvent): void; componentWillLoad(): void; }