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,9 @@
.example-form {
min-width: 150px;
max-width: 500px;
width: 100%;
}
.example-full-width {
width: 100%;
}

View File

@@ -0,0 +1,9 @@
<form class="example-form">
<md-form-field class="example-full-width">
<input mdInput #message maxlength="256" placeholder="Message">
<md-hint align="start"><strong>Don't disclose personal info</strong> </md-hint>
<md-hint align="end">{{message.value.length}} / 256</md-hint>
</md-form-field>
</form>

View File

@@ -0,0 +1,11 @@
import {Component} from '@angular/core';
/**
* @title Input hints
*/
@Component({
selector: 'input-hint-example',
templateUrl: 'input-hint-example.html',
styleUrls: ['input-hint-example.css'],
})
export class InputHintExample { }