Switch
Switch button
Import
import '@omiu/switch'
Or use script tag to ref it.
<script src="https://unpkg.com/@omiu/switch"></script>
Usage
<o-switch></o-switch>
API
Props
{
checked: boolean
}
Events
- change
Switch button
import '@omiu/switch'
Or use script tag to ref it.
<script src="https://unpkg.com/@omiu/switch"></script>
<o-switch></o-switch>
{
checked: boolean
}
npm i @omiu/switch
2
0.0.2
MIT
60.7 kB
10