MCPcopy Create free account
hub / github.com/ygs-code/vue / insertBefore

Function insertBefore

vue.js:7755–7758  ·  view source on GitHub ↗
(parentNode, newNode, referenceNode)

Source from the content-addressed store, hash-verified

7753
7754 //插入节点 在referenceNode dom 前面插入一个节点
7755 function insertBefore(parentNode, newNode, referenceNode) {
7756
7757 parentNode.insertBefore(newNode, referenceNode);
7758 }
7759
7760 //删除子节点
7761 function removeChild(node, child) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected