MCPcopy
hub / github.com/SeleniumHQ/selenium / addEvent

Function addEvent

third_party/js/qunit/qunit.js:6470–6472  ·  view source on GitHub ↗
(elem, type, fn)

Source from the content-addressed store, hash-verified

6468 }
6469 }
6470 function addEvent(elem, type, fn) {
6471 elem.addEventListener(type, fn, false);
6472 }
6473 function removeEvent(elem, type, fn) {
6474 elem.removeEventListener(type, fn, false);
6475 }

Callers 6

addEventsFunction · 0.85
abortTestsButtonFunction · 0.85
toolbarLooseFilterFunction · 0.85
toolbarModuleFilterFunction · 0.85
searchFocusFunction · 0.85
qunit.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected