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

Function beforeWithTransition

06.Router/basic/js/vue.js:1058–1062  ·  view source on GitHub ↗

* InsertBefore with transition. * * @param {Element} el * @param {Element} target * @param {Vue} vm * @param {Function} [cb]

(el, target, vm, cb)

Source from the content-addressed store, hash-verified

1056 */
1057
1058 function beforeWithTransition(el, target, vm, cb) {
1059 applyTransition(el, 1, function () {
1060 before(el, target);
1061 }, vm, cb);
1062 }
1063
1064 /**
1065 * Remove with transition.

Callers

nothing calls this directly

Calls 2

applyTransitionFunction · 0.70
beforeFunction · 0.70

Tested by

no test coverage detected