MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / onClickCallback

Method onClickCallback

static/panes/output.ts:87–89  ·  view source on GitHub ↗
(e: JQuery.ClickEvent)

Source from the content-addressed store, hash-verified

85 }
86
87 private onClickCallback(e: JQuery.ClickEvent) {
88 this.isOutputCurrentSelection = this.contentRoot[0].contains(e.target);
89 }
90
91 private onKeydownCallback(e: JQuery.KeyDownEvent) {
92 if (this.isOutputCurrentSelection && e.ctrlKey && e.key === 'a') {

Callers 1

registerCallbacksMethod · 0.95

Calls 1

containsMethod · 0.80

Tested by

no test coverage detected