/v-toggle

TODO

Primary LanguageJavaScriptMIT LicenseMIT

v-toggle

description: 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="'propertyNameOnHoldingComponent'">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