0.10.3 • Published 7 years ago

@angular2-mdl-ext/select v0.10.3

Weekly downloads
13
License
MIT
Repository
github
Last release
7 years ago

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

NameTypeDescription
[ngModel]anySelect data binding
[disabled]booleanWhether or not the select is disabled
[placeholder]stringPlaceholder text
[label]stringLabel text
[floating-label]anyIf present or true the label will be floating on focus event
[multiple]booleanMultiselect mode

mdl-option

NameTypeDescription
[value]anyOption value
<content>stringOption 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