mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00

committed by
mhartington

parent
74ce34fa68
commit
bb05c6e84d
@ -78,6 +78,16 @@
|
|||||||
</ion-segment-button>
|
</ion-segment-button>
|
||||||
</ion-segment>
|
</ion-segment>
|
||||||
</ion-toolbar>
|
</ion-toolbar>
|
||||||
|
|
||||||
|
<!-- Segment with default selection -->
|
||||||
|
<ion-segment (ionChange)="segmentChanged($event)" value="javascript">
|
||||||
|
<ion-segment-button value="python">
|
||||||
|
<ion-label>Python</ion-label>
|
||||||
|
</ion-segment-button>
|
||||||
|
<ion-segment-button value="javascript">
|
||||||
|
<ion-label>Javascript</ion-label>
|
||||||
|
</ion-segment-button>
|
||||||
|
</ion-segment>
|
||||||
```
|
```
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
|
@ -78,6 +78,16 @@
|
|||||||
</ion-segment-button>
|
</ion-segment-button>
|
||||||
</ion-segment>
|
</ion-segment>
|
||||||
</ion-toolbar>
|
</ion-toolbar>
|
||||||
|
|
||||||
|
<!-- Segment with default selection -->
|
||||||
|
<ion-segment value="javascript">
|
||||||
|
<ion-segment-button value="python">
|
||||||
|
<ion-label>Python</ion-label>
|
||||||
|
</ion-segment-button>
|
||||||
|
<ion-segment-button value="javascript">
|
||||||
|
<ion-label>Javascript</ion-label>
|
||||||
|
</ion-segment-button>
|
||||||
|
</ion-segment>
|
||||||
```
|
```
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
Reference in New Issue
Block a user