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

Method on

docs/app/js/sanddance-app.js:92360–92362  ·  view source on GitHub ↗

Register an event handler function to be called on `event`

(event, handler, opts)

Source from the content-addressed store, hash-verified

92358 }
92359 }
92360 /** Register an event handler function to be called on `event` */ on(event, handler, opts) {
92361 this._addEventHandler(event, handler, opts, false);
92362 }
92363 once(event, handler, opts) {
92364 this._addEventHandler(event, handler, opts, true);
92365 }

Callers 15

constructorMethod · 0.95
renderMethod · 0.45
sanddance-app.jsFile · 0.45
AutoScroll1Function · 0.45
allowScrollOnElementFunction · 0.45
allowOverscrollOnElementFunction · 0.45
withResponsiveModeFunction · 0.45
ModalBase1Function · 0.45
setElementMethod · 0.45
_addEventHandlerMethod · 0.45
transformFunction · 0.45
simulationFunction · 0.45

Calls 1

_addEventHandlerMethod · 0.95

Tested by

no test coverage detected