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

Function callDetach

06.Router/basic/js/vue.js:8215–8219  ·  view source on GitHub ↗

* Iterator to call detached hook * * @param {Vue} child

(child)

Source from the content-addressed store, hash-verified

8213 */
8214
8215 function callDetach(child) {
8216 if (child._isAttached && !inDoc(child.$el)) {
8217 child._callHook('detached');
8218 }
8219 }
8220
8221 /**
8222 * Trigger all handlers for a hook

Callers

nothing calls this directly

Calls 1

inDocFunction · 0.70

Tested by

no test coverage detected