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

Function attach

06.Router/basic/js/vue.js:3914–3918  ·  view source on GitHub ↗

* Call attach hook for a Vue instance. * * @param {Vue} child

(child)

Source from the content-addressed store, hash-verified

3912 */
3913
3914 function attach(child) {
3915 if (!child._isAttached && inDoc(child.$el)) {
3916 child._callHook('attached');
3917 }
3918 }
3919
3920 /**
3921 * Call detach hook for a Vue instance.

Callers

nothing calls this directly

Calls 1

inDocFunction · 0.70

Tested by

no test coverage detected