@ng-select/ng-select
Version:
Angular ng-select - All in One UI Select, Multiselect and Autocomplete
30 lines (29 loc) • 610 B
TypeScript
export interface NgOption {
[name: string]: any;
index?: number;
htmlId?: string;
selected?: boolean;
disabled?: boolean;
marked?: boolean;
label?: string;
value?: string | Object;
parent?: NgOption;
children?: NgOption[];
}
export declare enum KeyCode {
Tab = 9,
Enter = 13,
Esc = 27,
Space = 32,
ArrowUp = 38,
ArrowDown = 40,
Backspace = 8
}
export interface NgSelectConfig {
placeholder?: string;
notFoundText?: string;
typeToSearchText?: string;
addTagText?: string;
loadingText?: string;
clearAllText?: string;
}