ag-charts-community
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
25 lines (24 loc) • 1.06 kB
TypeScript
import type { CollapseOpts, ExpandOpts, ExpandableWidget } from './expandableWidget';
import { MenuItemWidget } from './menuItemWidget';
import type { RovingDirection } from './rovingDirection';
import { RovingTabContainerWidget } from './rovingTabContainerWidget';
export declare class MenuWidget extends RovingTabContainerWidget<MenuItemWidget> implements ExpandableWidget<HTMLDivElement> {
private expansionScope?;
constructor(orientation?: RovingDirection);
protected destructor(): void;
addSeparator(): Element;
toggleChildEnabledByIndex(index: number, enabled: boolean): void;
protected onChildAdded(child: MenuItemWidget): void;
protected onChildRemoved(child: MenuItemWidget): void;
private readonly handleMouseEnter;
private readonly handleMouseMove;
addSubMenu(): {
subMenuButton: MenuItemWidget;
subMenu: MenuWidget;
};
private expandSubMenu;
private collapseExpandedSubMenu;
private getCloseKeys;
expand(opts: ExpandOpts): void;
collapse(opts?: CollapseOpts): void;
}