react-mousedown-awayable
v0.0.1
Published
Mousedown away mixin for react component.
Downloads
3
Readme
react-mousedown-awayable
Mousedown away mixin for react component.
Installation
npm install --save react-mousedown-awayable
Usage
var React = require("react");
var MousedownAwayable = require("react-mousedown-awayable");
var Rect = React.createClass({
mixins: [MousedownAwayable],
componentMouseDownAway: function() {
// MouseDownAway triggered callback code here
},
render: function() {
}
});