Skip to content

ElTacitos/tiny-vue-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@eltacitos/tiny-vue-toggle

npm (scoped) NPM Downloads NPM Downloads

Just a bundles of tiny Vue 3 components with TypeScript.

Currently, containing only a Toggle Switch.

Install

$ npm i @eltacitos/tiny-vue-components

Toggle Switch

Properties

Name Type Default Description
color [string, object] '#666666' Color for the background of the toggle
handle-color [string, object] '#ffffff' Color for the handle on the toggle
width string auto Set the width of the toggle
value boolean false State of the toggle

Events

Name Description
change Triggered whenever state of the component changes.
$event = new state
update:value Same as 'change' but is used with v-model:value

About

Just a bundle of Vue3 TypeScript Components

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published