MCPcopy
hub / github.com/SortableJS/Sortable / on

Function on

Sortable.js:137–139  ·  view source on GitHub ↗
(el, event, fn)

Source from the content-addressed store, hash-verified

135 passive: false
136 };
137 function on(el, event, fn) {
138 el.addEventListener(event, fn, !IE11OrLess && captureMode);
139 }
140 function off(el, event, fn) {
141 el.removeEventListener(event, fn, !IE11OrLess && captureMode);
142 }

Callers 6

MultiDragFunction · 0.90
dragStartedFunction · 0.90
SortableFunction · 0.70
Sortable.jsFile · 0.70
AutoScrollPluginFunction · 0.70
MultiDragFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected