@d3banking/backbone-decorators

Collection of decorators for BackboneJS

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
10May 22, 2017May 24, 2016Minified + gzip package size for @d3banking/backbone-decorators in KB

Readme

backbone-decorators

Collection of decorators that simplify using Backbone with ES6 classes.

Use

  1. Use NPM to install the backbone-decorators package

    npm install @d3banking/backbone-decorators --save
    
  2. Import the desired decorator into the Backbone module

    import { on } from '@d3banking/backbone-decorators';
    

Decorator List

  • on
  • className
  • tagName
  • prop
  • protoProp
  • url
  • accessor
  • accessors

Developing

Dist Build

npm start

Run Tests

npm test

License

Software: Licenced under the MIT License (MIT)

http://opensource.org/licenses/MIT

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.