md-select
Native Angular2 Material Select component
API
Example:
{{i.name}}
... ;
Properties
ngModel
(any
) - two way data binding. This should be a value of selected option. This option is mutually exclusive with value.placeholder
(?string=''
) - Placeholder text to display when the element has no selected item.disabled
(?boolean=false
) - Whentrue
, it specifies that the component should be disabled or if apply on option then the specific option should be disabled.value
- (any
) - Items that have children of select element it pass any object or string over there, while select the specific option emit value of it.
Events
change
- it fires after a new option selected; returnsvalue
of selected option.