MCPcopy Index your code
hub / github.com/keepfool/vue-tutorials / before

Function before

06.Router/basic/js/vue.js:1204–1206  ·  view source on GitHub ↗

* Insert el before target * * @param {Element} el * @param {Element} target

(el, target)

Source from the content-addressed store, hash-verified

1202 */
1203
1204 function before(el, target) {
1205 target.parentNode.insertBefore(el, target);
1206 }
1207
1208 /**
1209 * Insert el after target

Callers 5

beforeWithTransitionFunction · 0.70
afterFunction · 0.70
prependFunction · 0.70
vue.jsFile · 0.70
beforeWithCbFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected