MCPcopy Create free account
hub / github.com/cn-docs/vueuse / removeNode

Function removeNode

packages/integrations/useSortable/index.ts:105–108  ·  view source on GitHub ↗
(node: Node)

Source from the content-addressed store, hash-verified

103 * @see https://github.com/Alfred-Skyblue/vue-draggable-plus/blob/a3829222095e1949bf2c9a20979d7b5930e66f14/src/utils/index.ts#L96C1-L102C2
104 */
105export function removeNode(node: Node) {
106 if (node.parentNode)
107 node.parentNode.removeChild(node)
108}
109
110export function moveArrayElement<T>(
111 list: MaybeRefOrGetter<T[]>,

Callers 1

moveArrayElementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected