import {Component, Optional, ElementRef, Renderer, Input, Output, Provider, forwardRef, EventEmitter, HostListener, ContentChildren, QueryList} from 'angular2/core'; import {NgControl, NG_VALUE_ACCESSOR} from 'angular2/common'; import {Alert} from '../alert/alert'; import {Form} from '../../util/form'; import {Item} from '../item/item'; import {merge, isTrueProperty, isBlank} from '../../util/util'; import {NavController} from '../nav/nav-controller'; import {Option} from '../option/option'; const SELECT_VALUE_ACCESSOR = new Provider( NG_VALUE_ACCESSOR, {useExisting: forwardRef(() => Select), multi: true}); /** * @name Select * @description * The `ion-select` component is similar to an HTML `