ofcold-switch

1.1.1 • Public • Published

switch vue

An on/off switch component for Vue.js with theme support.

Installation

	npm install --save ofcold-switch

Usage

	<!-- Html  -->
	<OfcoldSwitch v-model="on_ready"></OfcoldSwitch>
	//	Javascript
	import OfcoldSwitch from 'ofcold-switch';

	export default {
		data:() => ({
			on_ready: false
		}),
		components: {
			OfcoldSwitch
		}
	}

Readme

Keywords

Package Sidebar

Install

npm i ofcold-switch

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

5.93 kB

Total Files

4

Last publish

Collaborators

  • olivia-bill