close
Skip to content

enso-ui/switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Switch

License Stable Downloads Vue JavaScript SCSS npm Issues Merge Requests

Description

Switch input component for Enso UI.

Installation

Install the package:

yarn add @enso-ui/switch

Features

  • exports VueSwitch as 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:

  • disabled
  • readonly
  • modelValue

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!

License

MIT

Packages

 
 
 

Contributors