MCPcopy Create free account
hub / github.com/RobertWHurst/KeyboardJS / bindPress

Method bindPress

lib/keyboard.js:102–104  ·  view source on GitHub ↗
(keyComboStr, pressHandler, preventRepeatByDefault)

Source from the content-addressed store, hash-verified

100 }
101
102 bindPress(keyComboStr, pressHandler, preventRepeatByDefault) {
103 return this.bind(keyComboStr, pressHandler, null, preventRepeatByDefault);
104 }
105
106 bindRelease(keyComboStr, releaseHandler) {
107 return this.bind(keyComboStr, null, releaseHandler, preventRepeatByDefault);

Callers

nothing calls this directly

Calls 1

bindMethod · 0.95

Tested by

no test coverage detected