package.dist.components.axes.toolbar.d.ts Maven / Gradle / Ivy
import { Component } from '../component';
import { RenderTypes, ToolbarControlTypes } from '../../interfaces/enums';
export declare class Toolbar extends Component {
static buttonID: number;
type: string;
renderType: RenderTypes;
overflowButton: any;
overflowMenu: any;
init(): void;
render(animate?: boolean): void;
renderOverflowMenu(): void;
isOverflowMenuOpen(): any;
updateOverflowMenu(show: boolean): void;
focusOnPreviousEnabledToolbarItem(currentItemIndex: number): void;
focusOnNextEnabledToolbarItem(currentItemIndex: number): void;
focusOnPreviousEnabledMenuItem(currentItemIndex: number): void;
focusOnNextEnabledMenuItem(currentItemIndex: number): void;
toggleOverflowMenu(event: any): void;
triggerFunctionAndEvent(control: any, event: CustomEvent, element?: any): void;
getControlConfigs(): {
buttonList: any[];
overflowMenuItemList?: undefined;
} | {
buttonList: any[];
overflowMenuItemList: any[];
};
getToolbarButtonItems(): any[];
getOverflowMenuItems(): any[];
getOverflowButtonConfig(): {
id: string;
title: any;
shouldBeDisabled: () => boolean;
iconSVG: {
content: string;
};
clickFunction: (event: any) => void;
};
getControlConfigByType(controlType: ToolbarControlTypes): any;
getControlIconByType(controlType: ToolbarControlTypes): " \n\t\t\t\t\t\t" | "\n\t\t\t\t\t\t" | "" | " " | " " | "";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy