mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-12-22 00:27:15 +00:00
angular-in-memory-web-api updated,
+ Http changed with HttpClient, + Angular Material Element examples added, + angular2-markdown Library added
This commit is contained in:
@@ -0,0 +1 @@
|
||||
/** No styles for this example. */
|
||||
@@ -0,0 +1,9 @@
|
||||
<md-selection-list #shoes>
|
||||
<md-list-option *ngFor="let shoe of typesOfShoes">
|
||||
{{shoe}}
|
||||
</md-list-option>
|
||||
</md-selection-list>
|
||||
|
||||
<p>
|
||||
Options selected: {{shoes.selectedOptions.selected.length}}
|
||||
</p>
|
||||
@@ -0,0 +1,13 @@
|
||||
import {Component} from '@angular/core';
|
||||
|
||||
/**
|
||||
* @title List with selection
|
||||
*/
|
||||
@Component({
|
||||
selector: 'list-selection-example',
|
||||
styleUrls: ['list-selection-example.css'],
|
||||
templateUrl: 'list-selection-example.html',
|
||||
})
|
||||
export class ListSelectionExample {
|
||||
typesOfShoes = ['Boots', 'Clogs', 'Loafers', 'Moccasins', 'Sneakers'];
|
||||
}
|
||||
Reference in New Issue
Block a user