Requires

Provides

Touchable.js

A mousedown event that lasts even when you move your mouse over.

License:
Public domain (http://unlicense.org).
Authors:
Yaroslaff Fedin
  1. 27
  2. 28
  3. 29
  4. 30
  5. 31
  6. 32
  7. 33
  8. 34
  9. 35
  10. 36
  11. 37
  12. 38
  13. 39
  14. 40
  15. 41
  16. 42
  17. 43
  18. 44
  19. 45
  20. 46
  21. 47
LSD.Mixin.Touchable = new Class({ behaviour: ':touchable', options: { events: { enabled: { element: { 'touchstart': 'activate', 'touchend': 'deactivate', 'touchcancel': 'deactivate' } } }, states: { active: { enabler: 'activate', disabler: 'deactivate' } } } });