MCPcopy Create free account
hub / github.com/microsoft/SandDance / MouseInput

Function MouseInput

docs/app/js/sanddance-app.js:93068–93073  ·  view source on GitHub ↗

* Mouse events input * @constructor * @extends Input

()

Source from the content-addressed store, hash-verified

93066 * @constructor
93067 * @extends Input
93068 */ function MouseInput() {
93069 this.evEl = MOUSE_ELEMENT_EVENTS;
93070 this.evWin = MOUSE_WINDOW_EVENTS;
93071 this.pressed = false; // mousedown state
93072 Input.apply(this, arguments);
93073 }
93074 inherit(MouseInput, Input, {
93075 /**
93076 * handle mouse events

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected