스위치 (Switch)

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) 컴포넌트는 사용자가 두개의 상태를 토글 할수 있도록 해줍니다. 기본 상태는 false 나 "off" 입니다.


<Switch checked="true" />

노트: 이 컴포넌트는 v-model 을 이용한 양방향(two-way) 바인딩을 지원합니다:

<Switch v-model="itemEnabled" />

Props

이름타입설명
checkedBoolean스위치의 상태를 나타네는 부울값

이벤트

이름설명
checkedChange스위치의 값이 바뀔때 발생

Native Component

AndroidiOS
android.widget.SwitchUISwitch
Contributors