mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-12-21 22:27:12 +00:00
Update Angular, Angular Material and Flex Layout to 6
Updated additional project files Updated Angular Material examples
This commit is contained in:
0
src/assets/angular-material-examples/select-multiple/select-multiple-example.css
Normal file → Executable file
0
src/assets/angular-material-examples/select-multiple/select-multiple-example.css
Normal file → Executable file
6
src/assets/angular-material-examples/select-multiple/select-multiple-example.html
Normal file → Executable file
6
src/assets/angular-material-examples/select-multiple/select-multiple-example.html
Normal file → Executable file
@@ -1,5 +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-select placeholder="Toppings" [formControl]="toppings" multiple>
|
||||
<mat-option *ngFor="let topping of toppingList" [value]="topping">{{topping}}</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
|
||||
17
src/assets/angular-material-examples/select-multiple/select-multiple-example.ts
Normal file → Executable file
17
src/assets/angular-material-examples/select-multiple/select-multiple-example.ts
Normal file → Executable file
@@ -1,15 +1,14 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { FormControl } from '@angular/forms';
|
||||
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']
|
||||
selector: 'select-multiple-example',
|
||||
templateUrl: 'select-multiple-example.html',
|
||||
styleUrls: ['select-multiple-example.css'],
|
||||
})
|
||||
export class SelectMultipleExample
|
||||
{
|
||||
toppings = new FormControl();
|
||||
export class SelectMultipleExample {
|
||||
toppings = new FormControl();
|
||||
|
||||
toppingList = ['Extra cheese', 'Mushroom', 'Onion', 'Pepperoni', 'Sausage', 'Tomato'];
|
||||
toppingList = ['Extra cheese', 'Mushroom', 'Onion', 'Pepperoni', 'Sausage', 'Tomato'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user