Collection of decorators that simplify using Backbone with ES6 classes.
-
Use NPM to install the backbone-decorators package
npm install @d3banking/backbone-decorators --save
-
Import the desired decorator into the Backbone module
import { on } from '@d3banking/backbone-decorators';
on
className
tagName
prop
protoProp
url
accessor
accessors
Dist Build
npm start
Run Tests
npm test
Software: Licenced under the MIT License (MIT)