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

Function beforeWithCb

06.Router/basic/js/vue.js:9213–9216  ·  view source on GitHub ↗

* InsertBefore operation that takes a callback. * * @param {Node} el * @param {Node} target * @param {Vue} vm - unused * @param {Function} [cb]

(el, target, vm, cb)

Source from the content-addressed store, hash-verified

9211 */
9212
9213 function beforeWithCb(el, target, vm, cb) {
9214 before(el, target);
9215 if (cb) cb();
9216 }
9217
9218 /**
9219 * Remove operation that takes a callback.

Callers

nothing calls this directly

Calls 2

beforeFunction · 0.70
cbFunction · 0.70

Tested by

no test coverage detected