refactor(segment): query buttons via @ContentChildren

This commit is contained in:
Adam Bradley
2015-12-18 23:00:04 -06:00
parent bc82c4c337
commit 508a872251
4 changed files with 116 additions and 132 deletions

View File

@@ -16,10 +16,10 @@
</button>
</ion-buttons>
<ion-segment secondary>
<ion-segment-button>
<ion-segment-button value="something">
Something
</ion-segment-button>
<ion-segment-button>
<ion-segment-button value="else">
Else
</ion-segment-button>
</ion-segment>