v-toggle
decription: TODO
Install
This package is available on npm.
Using npm:
npm install --save v-toggle-directive
Using yarn:
yarn add v-toggle-directive
For browser, import node_modules/v-toggle-directive/dist/v-toggle.js
in your html.
Example
Live Demo (TODO)
<button v-toggle.someclassname="'propertyNameOnHoldingComponenet'">A button</button>
TODO
- write better doc with demo
- find a way to watch holding component's data and react to changes... (is it even possible for a directive?)
Licence
MIT