Class IgxDropDownBaseDirective

An abstract class, defining a drop-down component, with: Properties for display styles and classes A collection items of type IgxDropDownItemBaseDirective Properties and methods for navigating (highlighting/focusing) items from the collection Properties and methods for selecting items from the collection

Hierarchy

Hierarchy

Implements

  • IDropDownList

Constructors

Properties

collapsed: boolean

Gets if the dropdown is collapsed

densityChanged: EventEmitter<IDensityChangedEventArgs> = ...
height: string

Gets/Sets the height of the drop down

// get
let myDropDownCurrentHeight = this.dropdown.height;
<!--set-->
<igx-drop-down [height]='400px'></igx-drop-down>
maxHeight: any = null

Gets/Sets the drop down's container max height.

// get
let maxHeight = this.dropdown.maxHeight;
<!--set-->
<igx-drop-down [maxHeight]='200px'></igx-drop-down>
selectionChanging: EventEmitter<ISelectionEventArgs> = ...

Emitted when item selection is changing, before the selection completes

<igx-drop-down (selectionChanging)='handleSelection()'></igx-drop-down>
width: string

Gets/Sets the width of the drop down

// get
let myDropDownCurrentWidth = this.dropdown.width;
<!--set-->
<igx-drop-down [width]='160px'></igx-drop-down>

Accessors

Methods