MCPcopy Create free account
hub / github.com/keepfool/vue-tutorials / appendWithTransition

Function appendWithTransition

06.Router/basic/js/vue.js:1043–1047  ·  view source on GitHub ↗

* Append 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

1041 */
1042
1043 function appendWithTransition(el, target, vm, cb) {
1044 applyTransition(el, 1, function () {
1045 target.appendChild(el);
1046 }, vm, cb);
1047 }
1048
1049 /**
1050 * InsertBefore with transition.

Callers

nothing calls this directly

Calls 1

applyTransitionFunction · 0.70

Tested by

no test coverage detected