UNPKG

vue-parent-change-transition

Version:
10 lines (8 loc) 184 B
let latestNodeId = 1 export default function TextNode (text) { this.instanceId = '' this.nodeId = latestNodeId++ this.parentNode = null this.nodeType = 3 this.text = text }