assassin-bug/framework/ui/menu/items/base-item.d.ts

14 lines
410 B
TypeScript
Raw Normal View History

2022-11-26 01:22:02 +00:00
import * as EventEmitter from 'eventemitter3';
export declare class BaseItem extends EventEmitter {
protected id: string;
protected title: string;
protected container: HTMLElement;
constructor(id: string, title: string);
getDOMNode(): HTMLElement;
getContents(): void;
protected onFocus(event: Event): void;
focus(): void;
click(): void;
getID(): string;
}