This is an overview of the most common usage of Switch. For more information about the available properties, methods, or events, head over to the complete API documentation for Switch.
<Switch>は2つの状態を交互に切り替えるためのUIコンポーネントです。
デフォルトの状態はfalseもしくはOFFです。
<Switch checked="true" /><Switch>はv-modelによる双方向バインディングを提供しています。
<Switch v-model="itemEnabled" />

| 名前 | 型 | 説明 |
|---|---|---|
checked | Boolean | スイッチで選択されている値を取得・設定します。 デフォルトの値: false. |
| 名前 | 説明 |
|---|---|
checkedChange | スイッチで選択されている値が変更された時に発火します。 |
| Android | iOS |
|---|---|
android.widget.Switch | UISwitch |