UNPKG

486 BTypeScriptView Raw
1export interface NgOption {
2 [name: string]: any;
3 index?: number;
4 htmlId?: string;
5 selected?: boolean;
6 disabled?: boolean;
7 marked?: boolean;
8 label?: string;
9 value?: string | any;
10 parent?: NgOption;
11 children?: NgOption[];
12}
13export declare enum KeyCode {
14 Tab = 9,
15 Enter = 13,
16 Esc = 27,
17 Space = 32,
18 ArrowUp = 38,
19 ArrowDown = 40,
20 Backspace = 8
21}
22export type DropdownPosition = 'top' | 'right' | 'bottom' | 'left' | 'auto';