MCPcopy Index your code
hub / github.com/SortableJS/Sortable / on

Function on

modular/sortable.complete.esm.js:131–133  ·  view source on GitHub ↗
(el, event, fn)

Source from the content-addressed store, hash-verified

129 passive: false
130};
131function on(el, event, fn) {
132 el.addEventListener(event, fn, !IE11OrLess && captureMode);
133}
134function off(el, event, fn) {
135 el.removeEventListener(event, fn, !IE11OrLess && captureMode);
136}

Callers 4

SortableFunction · 0.70
AutoScrollPluginFunction · 0.70
MultiDragFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected