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

Function on

src/utils.js:9–11  ·  view source on GitHub ↗
(el, event, fn)

Source from the content-addressed store, hash-verified

7};
8
9function on(el, event, fn) {
10 el.addEventListener(event, fn, !IE11OrLess && captureMode);
11}
12
13
14function off(el, event, fn) {

Callers 2

SortableFunction · 0.90
Sortable.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected