MCPcopy
hub / github.com/SortableJS/Vue.Draggable / getEvent

Function getEvent

tests/unit/vuedraggable.spec.js:25–27  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

23const initialRenderTransition = "<div><span><div>a</div><div>b</div><div>c</div></span></div>";
24
25function getEvent(name) {
26 return Sortable.mock.calls[0][1][name];
27}
28
29function resetMocks() {
30 Sortable.mockClear();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected