Abstract ReadonlycollapsedGets if the dropdown is collapsed
Gets/Sets the height of the drop down
// get
let myDropDownCurrentHeight = this.dropdown.height;
<!--set-->
<igx-drop-down [height]='400px'></igx-drop-down>
Gets/Sets the drop down's container max height.
// get
let maxHeight = this.dropdown.maxHeight;
<!--set-->
<igx-drop-down [maxHeight]='200px'></igx-drop-down>
Emitted when item selection is changing, before the selection completes
<igx-drop-down (selectionChanging)='handleSelection()'></igx-drop-down>
Gets/Sets the width of the drop down
// get
let myDropDownCurrentWidth = this.dropdown.width;
<!--set-->
<igx-drop-down [width]='160px'></igx-drop-down>
Get dropdown html element
let myDropDownElement = this.dropdown.element;
Get all header items
let myDropDownHeaderItems = this.dropdown.headers;
Gets/Sets the drop down's id
// get
let myDropDownCurrentId = this.dropdown.id;
<!--set-->
<igx-drop-down [id]='newDropDownId'></igx-drop-down>
Get all non-header items
let myDropDownItems = this.dropdown.items;
Navigates to the item on the specified index
number - the index of the item in the items collection
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
An abstract class, defining a drop-down component, with: Properties for display styles and classes A collection items of type
IgxDropDownItemBaseDirectiveProperties and methods for navigating (highlighting/focusing) items from the collection Properties and methods for selecting items from the collection