Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    doom-beanpublic

    DOOM: Bean

    DOOM bridge for the Bean event framework.

    Example

    // Require bean and instantiate DOOM using it for the eventing stuff
    var bean = require('doom-bean')
    var doom = require('doom')(undefined, bean)
    
    // Then use DOOM event functions normally
    doom.delegate('.clickable', 'click', doom.query('body'), function(ev, el) {
      ev.preventDefault()
      doom.addClass('active', el)
    })
    

    Installing

    Just grab it from NPM:

    $ npm install doom-bean
    

    Licence

    MIT/X11. ie.: do whatever you want.

    Keywords

    none

    install

    npm i doom-bean

    Downloadsweekly downloads

    3

    version

    0.1.0

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar