mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
26 lines
654 B
HTML
26 lines
654 B
HTML
<ion-content>
|
|
|
|
<form (^submit)="doSubmit($event)" [control-group]="form">
|
|
|
|
<ion-list>
|
|
<div class="list-header">Some Switches</div>
|
|
<ion-switch control="enableFun">
|
|
Enable Fun?
|
|
</ion-switch>
|
|
<ion-switch control="enableIceCream">
|
|
Enable Ice Cream?
|
|
</ion-switch>
|
|
<ion-switch control="enablePizza">
|
|
Enable Pizza?
|
|
</ion-switch>
|
|
</ion-list>
|
|
|
|
Is fun enabled? <b>{{form.controls.enableFun.value}}</b>
|
|
<br>
|
|
Is ice cream enabled? <b>{{form.controls.enableIceCream.value}}</b>
|
|
<br>
|
|
Is pizza enabled? <b>{{form.controls.enablePizza.value}}</b>
|
|
</form>
|
|
|
|
</ion-content>
|