mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-12-22 00:27:15 +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/list-selection/list-selection-example.css
Normal file → Executable file
0
src/assets/angular-material-examples/list-selection/list-selection-example.css
Normal file → Executable file
8
src/assets/angular-material-examples/list-selection/list-selection-example.html
Normal file → Executable file
8
src/assets/angular-material-examples/list-selection/list-selection-example.html
Normal file → Executable file
@@ -1,9 +1,9 @@
|
||||
<mat-selection-list #shoes>
|
||||
<mat-list-option *ngFor="let shoe of typesOfShoes">
|
||||
{{shoe}}
|
||||
</mat-list-option>
|
||||
<mat-list-option *ngFor="let shoe of typesOfShoes">
|
||||
{{shoe}}
|
||||
</mat-list-option>
|
||||
</mat-selection-list>
|
||||
|
||||
<p>
|
||||
Options selected: {{shoes.selectedOptions.selected.length}}
|
||||
Options selected: {{shoes.selectedOptions.selected.length}}
|
||||
</p>
|
||||
|
||||
13
src/assets/angular-material-examples/list-selection/list-selection-example.ts
Normal file → Executable file
13
src/assets/angular-material-examples/list-selection/list-selection-example.ts
Normal file → Executable file
@@ -1,14 +1,13 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {Component} from '@angular/core';
|
||||
|
||||
/**
|
||||
* @title List with selection
|
||||
*/
|
||||
@Component({
|
||||
selector : 'list-selection-example',
|
||||
styleUrls : ['list-selection-example.css'],
|
||||
templateUrl: 'list-selection-example.html'
|
||||
selector: 'list-selection-example',
|
||||
styleUrls: ['list-selection-example.css'],
|
||||
templateUrl: 'list-selection-example.html',
|
||||
})
|
||||
export class ListSelectionExample
|
||||
{
|
||||
typesOfShoes = ['Boots', 'Clogs', 'Loafers', 'Moccasins', 'Sneakers'];
|
||||
export class ListSelectionExample {
|
||||
typesOfShoes = ['Boots', 'Clogs', 'Loafers', 'Moccasins', 'Sneakers'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user