- Removed surrounding spaces in interpolation expressions following the styleguide - Consistant spacing of two spaces in html Fixes #23105 PR Close #24497
This commit is contained in:
parent
01e7ff682c
commit
676ec411b9
|
@ -3,15 +3,15 @@
|
||||||
<!-- #enddocregion show-hero-1 -->
|
<!-- #enddocregion show-hero-1 -->
|
||||||
|
|
||||||
<!-- #docregion show-hero-2 -->
|
<!-- #docregion show-hero-2 -->
|
||||||
<h2>{{ hero.name }} Details</h2>
|
<h2>{{hero.name}} Details</h2>
|
||||||
<div><span>id: </span>{{hero.id}}</div>
|
<div><span>id: </span>{{hero.id}}</div>
|
||||||
<div><span>name: </span>{{hero.name}}</div>
|
<div><span>name: </span>{{hero.name}}</div>
|
||||||
<!-- #enddocregion show-hero-2 -->
|
<!-- #enddocregion show-hero-2 -->
|
||||||
|
|
||||||
<!-- #docregion name-input -->
|
<!-- #docregion name-input -->
|
||||||
<div>
|
<div>
|
||||||
<label>name:
|
<label>name:
|
||||||
<input [(ngModel)]="hero.name" placeholder="name">
|
<input [(ngModel)]="hero.name" placeholder="name">
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<!-- #enddocregion name-input -->
|
<!-- #enddocregion name-input -->
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<!-- #docregion -->
|
<!-- #docregion -->
|
||||||
<!-- #docregion pipe -->
|
<!-- #docregion pipe -->
|
||||||
<h2>{{ hero.name | uppercase }} Details</h2>
|
<h2>{{hero.name | uppercase}} Details</h2>
|
||||||
<!-- #enddocregion pipe -->
|
<!-- #enddocregion pipe -->
|
||||||
<div><span>id: </span>{{hero.id}}</div>
|
<div><span>id: </span>{{hero.id}}</div>
|
||||||
<div>
|
<div>
|
||||||
<label>name:
|
<label>name:
|
||||||
<input [(ngModel)]="hero.name" placeholder="name">
|
<input [(ngModel)]="hero.name" placeholder="name">
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<div *ngIf="selectedHero">
|
<div *ngIf="selectedHero">
|
||||||
|
|
||||||
<!-- #docregion selectedHero-details -->
|
<!-- #docregion selectedHero-details -->
|
||||||
<h2>{{ selectedHero.name | uppercase }} Details</h2>
|
<h2>{{selectedHero.name | uppercase}} Details</h2>
|
||||||
<div><span>id: </span>{{selectedHero.id}}</div>
|
<div><span>id: </span>{{selectedHero.id}}</div>
|
||||||
<div>
|
<div>
|
||||||
<label>name:
|
<label>name:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div *ngIf="hero">
|
<div *ngIf="hero">
|
||||||
|
|
||||||
<h2>{{ hero.name | uppercase }} Details</h2>
|
<h2>{{hero.name | uppercase}} Details</h2>
|
||||||
<div><span>id: </span>{{hero.id}}</div>
|
<div><span>id: </span>{{hero.id}}</div>
|
||||||
<div>
|
<div>
|
||||||
<label>name:
|
<label>name:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div *ngIf="hero">
|
<div *ngIf="hero">
|
||||||
<h2>{{ hero.name | uppercase }} Details</h2>
|
<h2>{{hero.name | uppercase}} Details</h2>
|
||||||
<div><span>id: </span>{{hero.id}}</div>
|
<div><span>id: </span>{{hero.id}}</div>
|
||||||
<div>
|
<div>
|
||||||
<label>name:
|
<label>name:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div *ngIf="hero">
|
<div *ngIf="hero">
|
||||||
<h2>{{ hero.name | uppercase }} Details</h2>
|
<h2>{{hero.name | uppercase}} Details</h2>
|
||||||
<div><span>id: </span>{{hero.id}}</div>
|
<div><span>id: </span>{{hero.id}}</div>
|
||||||
<div>
|
<div>
|
||||||
<label>name:
|
<label>name:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div *ngIf="hero">
|
<div *ngIf="hero">
|
||||||
<h2>{{ hero.name | uppercase }} Details</h2>
|
<h2>{{hero.name | uppercase}} Details</h2>
|
||||||
<div><span>id: </span>{{hero.id}}</div>
|
<div><span>id: </span>{{hero.id}}</div>
|
||||||
<div>
|
<div>
|
||||||
<label>name:
|
<label>name:
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
</a>
|
</a>
|
||||||
<!-- #docregion delete -->
|
<!-- #docregion delete -->
|
||||||
<button class="delete" title="delete hero"
|
<button class="delete" title="delete hero"
|
||||||
(click)="delete(hero)">x</button>
|
(click)="delete(hero)">x</button>
|
||||||
<!-- #enddocregion delete -->
|
<!-- #enddocregion delete -->
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue