Skip to content

Mixins for derLukers/statr like automatically named states, autogenerated routes for backbone.

License

Notifications You must be signed in to change notification settings

luaks/statr-mixins

Repository files navigation

Statr-Mixins

Codeship Status for derLukers/statr-mixins These are (or will soon be) a bunch of mixins for statr.

Usage

When using the mixins the are to be included in the mixins list of the new state like so:

new class fooState extends State
    mixins: [RoutedState, NamedState]
    route: 'foo'

If you are only using a single mixin you can also use it like this:

new class fooState extends State
    mixins: RoutedState
    route: 'foo'
    statename: 'foo'

About

Mixins for derLukers/statr like automatically named states, autogenerated routes for backbone.

Resources

License

Stars

Watchers

Forks

Packages

No packages published