MCPcopy Create free account
hub / github.com/OpenIntroStat/ims / on

Function on

libs/htmlwidgets-1.5.3/htmlwidgets.js:153–159  ·  view source on GitHub ↗
(obj, eventName, func)

Source from the content-addressed store, hash-verified

151 }
152
153 function on(obj, eventName, func) {
154 if (obj.addEventListener) {
155 obj.addEventListener(eventName, func, false);
156 } else if (obj.attachEvent) {
157 obj.attachEvent(eventName, func);
158 }
159 }
160
161 function off(obj, eventName, func) {
162 if (obj.removeEventListener)

Callers 1

htmlwidgets.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected