docs(item-group): update usage

This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
Brandy Carney
2018-07-05 18:29:47 -04:00
gitea-unlock(16/)
parent 7fb20a1b37
commit e6a9ec0fe3

12
core/src/components/item-group/usage/javascript.md
View File

@@ -1,6 +1,8 @@
```html ```html
<ion-item-group> <ion-item-group>
<ion-item-divider>A</ion-item-divider> <ion-item-divider>
<ion-label>A</ion-label>
</ion-item-divider>
<ion-item> <ion-item>
<ion-label>Angola</ion-label> <ion-label>Angola</ion-label>
@@ -14,7 +16,9 @@
</ion-item-group> </ion-item-group>
<ion-item-group> <ion-item-group>
<ion-item-divider>B</ion-item-divider> <ion-item-divider>
<ion-label>B</ion-label>
</ion-item-divider>
<ion-item> <ion-item>
<ion-label>Bangladesh</ion-label> <ion-label>Bangladesh</ion-label>
@@ -31,7 +35,9 @@
<!-- They can also be used to group sliding items --> <!-- They can also be used to group sliding items -->
<ion-item-group> <ion-item-group>
<ion-item-divider> <ion-item-divider>
<ion-label>
Fruits Fruits
</ion-label>
</ion-item-divider> </ion-item-divider>
<ion-item-sliding> <ion-item-sliding>
@@ -63,7 +69,9 @@
<ion-item-group> <ion-item-group>
<ion-item-divider> <ion-item-divider>
<ion-label>
Vegetables Vegetables
</ion-label>
</ion-item-divider> </ion-item-divider>
<ion-item-sliding> <ion-item-sliding>