MCPcopy Index your code
hub / github.com/microsoft/SandDance / enableEventType

Method enableEventType

docs/app/js/sanddance-app.js:94970–94973  ·  view source on GitHub ↗

* Enable this input (begin processing events) * if the specified event type is among those handled by this input.

(eventType, enabled)

Source from the content-addressed store, hash-verified

94968 * Enable this input (begin processing events)
94969 * if the specified event type is among those handled by this input.
94970 */ enableEventType(eventType, enabled) {
94971 if (eventType === DOWN_EVENT_TYPE) this.enableDownEvent = enabled;
94972 if (eventType === UP_EVENT_TYPE) this.enableUpEvent = enabled;
94973 }
94974}
94975exports.default = KeyInput;
94976

Callers 1

_toggleRecognizerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected