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

Function removeNode

src/vuedraggable.js:13–17  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

11}
12
13function removeNode(node) {
14 if (node.parentElement !== null) {
15 node.parentElement.removeChild(node);
16 }
17}
18
19function insertNodeAt(fatherNode, node, position) {
20 const refNode =

Callers 3

onDragAddFunction · 0.85
onDragRemoveFunction · 0.85
onDragUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected