mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(toggle): add styling for toggle when placed left
BREAKING CHANGES: renamed Sass variables in toggle, checkbox, and radio. Changed `media` in `component-mode-media-padding` (for example) to `item-left`. references #5925
This commit is contained in:
@@ -7,6 +7,16 @@
|
||||
|
||||
<ion-list>
|
||||
|
||||
<ion-item>
|
||||
Left side default icon, really long text that should ellipsis ellipsis ellipsis
|
||||
<ion-icon name="information-circle" item-left></ion-icon>
|
||||
</ion-item>
|
||||
|
||||
<ion-item>
|
||||
<ion-label>Apple</ion-label>
|
||||
<ion-toggle item-left value="apple"></ion-toggle>
|
||||
</ion-item>
|
||||
|
||||
<ion-item>
|
||||
<ion-label>Apple, ngControl</ion-label>
|
||||
<ion-toggle ngControl="appleCtrl"></ion-toggle>
|
||||
|
||||
Reference in New Issue
Block a user