MCPcopy Create free account
hub / github.com/hydro-dev/Hydro / handleClick

Method handleClick

packages/ui-default/components/dialog/DomDialog.ts:134–138  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

132 }
133
134 handleClick(e) {
135 if (e.target === this.$dom.get(0)) {
136 this.dispatchAction('cancel');
137 }
138 }
139
140 handleKeyUp(e) {
141 if (e.keyCode === 27) {

Callers 1

renderMethod · 0.45

Calls 2

dispatchActionMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected