feat: camelCase Angular (kebab-case removal)
BREAKING CHANGE: Angular is now fully camel case. Before: <p *ng-if="cond"> <my-cmp [my-prop]="exp"> <my-cmp (my-event)="action()"> <my-cmp [(my-prop)]="prop"> <input #my-input> <template ng-for #my-item [ng-for-of]=items #my-index="index"> After <p *ngIf="cond"> <my-cmp [myProp]="exp"> <my-cmp (myEvent)="action()"> <my-cmp [(myProp)]="prop"> <input #myInput>`, <template ngFor="#my-item" [ngForOf]=items #myIndex="index"> The full details are found in [angular2/docs/migration/kebab-case.md](https://github.com/angular/angular/blob/master/modules/angular2/docs/migration/kebab-case.md)
This commit is contained in:

committed by
Igor Minar

parent
b386d1134a
commit
da9b46a071
@ -2,9 +2,9 @@
|
||||
<h2 class="page-title">Drafts</h2>
|
||||
|
||||
<ol class="inbox-list">
|
||||
<li *ng-for="#item of items" class="inbox-item-record">
|
||||
<li *ngFor="#item of items" class="inbox-item-record">
|
||||
<a id="item-{{ item.id }}"
|
||||
[router-link]="['/DetailPage', {'id':item.id}]">
|
||||
[routerLink]="['/DetailPage', {'id':item.id}]">
|
||||
{{ item.subject }}</a>
|
||||
</li>
|
||||
</ol>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<inbox-side-menu class="inbox-aside">
|
||||
<a [router-link]="['/Inbox']" class="link" [class.active]="inboxPageActive()">Inbox</a>
|
||||
<a [router-link]="['/Drafts']" class="link" [class.active]="draftsPageActive()">Drafts</a>
|
||||
<a [routerLink]="['/Inbox']" class="link" [class.active]="inboxPageActive()">Inbox</a>
|
||||
<a [routerLink]="['/Drafts']" class="link" [class.active]="draftsPageActive()">Drafts</a>
|
||||
</inbox-side-menu>
|
||||
<router-outlet></router-outlet>
|
||||
|
@ -13,12 +13,12 @@
|
||||
</p>
|
||||
|
||||
<span class="btn medium primary">
|
||||
<a [router-link]="record.draft ? ['../Drafts'] : ['../Inbox']" class="back-button">Back</a>
|
||||
<a [routerLink]="record.draft ? ['../Drafts'] : ['../Inbox']" class="back-button">Back</a>
|
||||
</span>
|
||||
|
||||
<hr />
|
||||
|
||||
<a [router-link]="['../Inbox', { sort: 'date'} ]" class="sort-button">
|
||||
<a [routerLink]="['../Inbox', { sort: 'date'} ]" class="sort-button">
|
||||
View Latest Messages
|
||||
</a>
|
||||
</div>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<h2 class="page-title">Inbox</h2>
|
||||
|
||||
<ol class="inbox-list">
|
||||
<li *ng-for="#item of items" class="inbox-item-record">
|
||||
<li *ngFor="#item of items" class="inbox-item-record">
|
||||
<a id="item-{{ item.id }}"
|
||||
[router-link]="['/DetailPage', {'id':item.id}]">{{ item.subject }}</a>
|
||||
[routerLink]="['/DetailPage', {'id':item.id}]">{{ item.subject }}</a>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user