angular-in-memory-web-api updated,

+ Http changed with HttpClient,
+ Angular Material Element examples added,
+ angular2-markdown Library added
This commit is contained in:
mustafahlvc
2017-09-27 19:40:59 +03:00
parent 52c5e6a18b
commit 8910e6f5dc
273 changed files with 5865 additions and 116 deletions

View File

@@ -0,0 +1 @@
/** No styles for this example. */

View File

@@ -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>

View File

@@ -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'];
}