v-toggle-directive

0.1.0 • Public • Published

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

Package Sidebar

Install

npm i v-toggle-directive

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

7.39 kB

Total Files

11

Last publish

Collaborators

  • nash403