8000 GitHub - dominicbarnes/mouse: mouse events. · GitHub
[go: up one dir, main page]

Skip to content
dominicbarnesPublic
forked from ui-component/mouse

About

mouse events.

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mouse

mouse events.

Installation

$ component install ui-component/mouse

API

mouse(el[, obj])

if object is given onmousedown, onmouseup, onmousemove will be called.

mouse.bind()

bind all mouse events on el.

mouse.unbind()

unbind all mouse events on el.

events:

  • down, emitted when the mouse is down.
  • move, emitted when the mouse is moved.
  • up, emitted when the mouse is up.

License

MIT

About

mouse events.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0