MCPcopy Create free account
hub / github.com/SpringRoll/SpringRoll / onKeyUp

Method onKeyUp

src/controller/Controller.js:56–58  ·  view source on GitHub ↗

* Called on keyup. Sets flag to 2 if key is being watched. * @param {KeyboardEvent} e * @memberof Controller

(e)

Source from the content-addressed store, hash-verified

54 * @memberof Controller
55 */
56 onKeyUp(e) {
57 this.onKey(e, 2);
58 }
59
60 /**
61 * Called on window blur, sets button state to up if button was down;

Callers

nothing calls this directly

Calls 1

onKeyMethod · 0.95

Tested by

no test coverage detected