This repository is a mirror of the component module ui-component/mouse. It has been modified to work with NPM+Browserify. You can install it using the command npm install npmcomponent/ui-component-mouse
. Please do not open issues or send pull requests against this repo. If you have issues with this repo, report it to npmcomponent.
mouse events.
$ component install ui-component/mouse
if object is given onmousedown
, onmouseup
, onmousemove
will
be called.
bind all mouse events on el
.
unbind all mouse events on el
.
down
, emitted when the mouse is down.move
, emitted when the mouse is moved.up
, emitted when the mouse is up.
MIT