Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

Latest commit

 

History

History
43 lines (32 loc) · 716 Bytes

README.md

File metadata and controls

43 lines (32 loc) · 716 Bytes

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