mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-12-22 01:27:12 +00:00
Angular material docs updated,
+ @angular/material-moment-adapter added to package.json
This commit is contained in:
@@ -0,0 +1 @@
|
||||
/** No CSS for this example */
|
||||
@@ -0,0 +1,5 @@
|
||||
<mat-form-field>
|
||||
<mat-select placeholder="Toppings" [formControl]="toppings" multiple>
|
||||
<mat-option *ngFor="let topping of toppingList" [value]="topping">{{topping}}</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { FormControl } from '@angular/forms';
|
||||
|
||||
/** @title Select with multiple selection */
|
||||
@Component({
|
||||
selector : 'select-multiple-example',
|
||||
templateUrl: 'select-multiple-example.html',
|
||||
styleUrls : ['select-multiple-example.css']
|
||||
})
|
||||
export class SelectMultipleExample
|
||||
{
|
||||
toppings = new FormControl();
|
||||
|
||||
toppingList = ['Extra cheese', 'Mushroom', 'Onion', 'Pepperoni', 'Sausage', 'Tomato'];
|
||||
}
|
||||
Reference in New Issue
Block a user