Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
**DO NOT USE THIS**
JavaScript
branch: master
Failed to load latest commit information.
.gitignore initial commit
LICENSE initial commit
Makefile do not support bower
README.md Update README.md
index.js allow delegating one spec per call
package.json release 0.3.0

README.md

react-dom-events

DO NOT USE THIS

Backbone.View-like DOM event delegation for React components. Use as a mixin for your components:

var DOMEvents = require('react-dom-events');
App = React.createClass({
  mixins: [DOMEvents],
  events: {
    'click a': 'handleClickLink'
  },
  handleClickLink: function(e) {
    e.preventDefault();
    ...
  },
  ...
});
Something went wrong with that request. Please try again.