feat(item): deprecate item-left / item-right attributes for item-start / item-end (#11125)

item-start and item-end make more sense for RTL

* refactor(item): replaced item-left with item-start
replaced item-right with item-end

* style(item): fix spacing

* fix(item): add backwards support for left/right in ng-content

* fix(item): deprecated old variables, not breaking change

* fix(scss): fix variable name

* fix(item): old attributes deprecated support
This commit is contained in:
Amit Moryossef
2017-05-05 18:53:32 +03:00
committed by Brandy Carney
parent 6d11499417
commit 26c653e43e
73 changed files with 663 additions and 582 deletions

View File

@ -128,7 +128,7 @@ import { VirtualHeader } from './virtual-header';
* <ion-list [virtualScroll]="items">
*
* <ion-item *virtualItem="let item">
* <ion-avatar item-left>
* <ion-avatar item-start>
* <ion-img [src]="item.avatarUrl"></ion-img>
* </ion-avatar>
* {% raw %} {{ item.firstName }} {{ item.lastName }}{% endraw %}