@omnia/foundation
Version:
Provide omnia foundation typings and tooling work on client side for omnia extension
43 lines (42 loc) • 1.57 kB
TypeScript
import { OnChanges, OnInit, OnDestroy, EventEmitter, ElementRef } from '@angular/core';
export declare class DropDownList implements OnChanges, OnInit, OnDestroy {
private elementRef;
items: Array<any>;
allowMultipleValues: boolean;
textProperty: string;
textExpression: string;
valueProperty: string;
preSelectFirstItem: boolean;
onItemSelected: (selectedItem: any, parentItem?: any) => void;
onItemDeselected: (deselectedItem: any, parentItem?: any) => void;
onDropDownOpen: () => void;
onInputChange: (newValue: string) => void;
showLoading: boolean;
selectedItemValue: any;
parentItem: any;
placeholder: string;
selectedItemValueChange: EventEmitter<Array<any>>;
selectedItem: any;
select: (item: any) => void;
deselect: (item?: any) => void;
getDisplayedTitle: (item: any) => string;
hightlight: (text: string, searchString: string) => string;
filterMatch: (searchString: string, item: any) => boolean;
toggleDropdown: () => void;
clickoutHandler: () => void;
openDropdown: () => void;
textboxValue: string;
dropdownVisible: boolean;
disableClickout: boolean;
disabledProp: boolean;
filteringItems: () => void;
onFocus: () => void;
setPreSelectedItem: () => void;
onChange: (changes: any) => void;
itemIsAlreadySelected: (item: any) => boolean;
constructor(elementRef: ElementRef);
ngOnInit(): void;
ngOnDestroy(): void;
ngOnChanges(changes: any): void;
private init;
}