mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
ion-checkbox
Placed in an ion-item or used as a stand-alone checkbox.
<ion-list>
<ion-item>
<ion-label>Pepperoni</ion-label>
<ion-checkbox value="pepperoni" checked></ion-checkbox>
</ion-item>
<ion-item>
<ion-label>Sausage</ion-label>
<ion-checkbox value="sausage" disabled></ion-checkbox>
</ion-item>
<ion-item>
<ion-label>Mushrooms</ion-label>
<ion-checkbox value="mushrooms"></ion-checkbox>
</ion-item>
</ion-list>
Properties
checked
boolean
color
string
disabled
boolean
mode
any
name
string
value
string
Attributes
checked
boolean
color
string
disabled
boolean
mode
any
name
string
value
string
Events
ionBlur
ionChange
ionFocus
ionStyle
Built by StencilJS