MCPcopy
hub / github.com/vuejs/core / _setParent

Method _setParent

packages/runtime-dom/src/apiCustomElement.ts:325–330  ·  view source on GitHub ↗
(parent = this._parent)

Source from the content-addressed store, hash-verified

323 }
324
325 private _setParent(parent = this._parent) {
326 if (parent) {
327 this._instance!.parent = parent._instance
328 this._inheritParentContext(parent)
329 }
330 }
331
332 private _inheritParentContext(parent = this._parent) {
333 // #13212, the provides object of the app context must inherit the provides

Callers 1

_createVNodeMethod · 0.95

Calls 1

_inheritParentContextMethod · 0.95

Tested by

no test coverage detected