0.10.3 • Published 7 years ago
@angular2-mdl-ext/select v0.10.3
Select
Installing
npm i --save @angular2-mdl-ext/popover @angular2-mdl-ext/select
import { MdlSelectModule } from '@angular2-mdl-ext/select';
Usage example
<mdl-select [(ngModel)]="personId">
<mdl-option *ngFor="let p of people" [value]="p.id">{{p.name}}</mdl-option>
</mdl-select>
using placeholder
<mdl-select placeholder="Person Name" [(ngModel)]="personId">
<mdl-option *ngFor="let p of people" [value]="p.id">{{p.name}}</mdl-option>
</mdl-select>
using label with floating label
<mdl-select label="{{personLabel}}" floating-label [(ngModel)]="personId">
<mdl-option *ngFor="let p of people" [value]="p.id">{{p.name}}</mdl-option>
</mdl-select>
API Summary
mdl-select
Name | Type | Description |
---|---|---|
[ngModel] | any | Select data binding |
[disabled] | boolean | Whether or not the select is disabled |
[placeholder] | string | Placeholder text |
[label] | string | Label text |
[floating-label] | any | If present or true the label will be floating on focus event |
[multiple] | boolean | Multiselect mode |
mdl-option
Name | Type | Description |
---|---|---|
[value] | any | Option value |
<content> | string | Option label |
0.10.3
7 years ago
0.10.2
7 years ago
0.10.1
7 years ago
0.10.0
7 years ago
0.9.2
7 years ago
0.9.1
7 years ago
0.9.0
7 years ago
0.8.2
7 years ago
0.8.1
7 years ago
0.8.0
7 years ago
0.7.1
7 years ago
0.7.0
7 years ago
0.6.0
7 years ago
0.5.0
7 years ago
0.4.2
7 years ago
0.4.1
7 years ago
0.4.0
8 years ago
0.3.0
8 years ago
0.2.4
8 years ago
0.2.3
8 years ago
0.2.2
8 years ago
0.2.1
8 years ago
0.2.0
8 years ago
0.1.2
8 years ago
0.1.1
8 years ago
0.1.0
8 years ago
0.0.2
8 years ago
0.0.1
8 years ago