1.1.1 • Published 6 years ago
ofcold-switch v1.1.1
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
}
}