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

Function multiRemove

06.Router/basic/js/vue.js:3855–3866  ·  view source on GitHub ↗

* Remove fragment, multi-nodes version

()

Source from the content-addressed store, hash-verified

3853 */
3854
3855 function multiRemove() {
3856 this.inserted = false;
3857 var self = this;
3858 var shouldCallRemove = inDoc(this.node);
3859 this.beforeRemove();
3860 removeNodeRange(this.node, this.end, this.vm, this.frag, function () {
3861 if (shouldCallRemove) {
3862 self.callHook(detach);
3863 }
3864 self.destroy();
3865 });
3866 }
3867
3868 /**
3869 * Prepare the fragment for removal.

Callers

nothing calls this directly

Calls 2

inDocFunction · 0.70
removeNodeRangeFunction · 0.70

Tested by

no test coverage detected