Switch
Description
Switch input component for Enso UI.
Installation
Install the package:
yarn add @enso-ui/switch
Features
- exports
VueSwitchas its public surface - keeps the Bulma presentation layer separate from the renderless/stateful layer where applicable
Usage
<script setup>
import VueSwitch from '@enso-ui/switch./src/bulma/VueSwitch.vue';
</script>
API
VueSwitch
Public export available from src/bulma/VueSwitch.vue.
Props:
disabledreadonlymodelValue
Events:
update:modelValue
Depends On
- No additional Enso UI dependencies.
Contributions
are welcome. Pull requests are great, but issues are good too. Thank you to all the people who already contributed to Enso!