MCPcopy Create free account
hub / github.com/TruthHun/BookStack / initInternalComponent

Function initInternalComponent

static/vuejs/vue.common.js:3773–3788  ·  view source on GitHub ↗
(vm, options)

Source from the content-addressed store, hash-verified

3771}
3772
3773function initInternalComponent (vm, options) {
3774 var opts = vm.$options = Object.create(vm.constructor.options);
3775 // doing this because it's faster than dynamic enumeration.
3776 opts.parent = options.parent;
3777 opts.propsData = options.propsData;
3778 opts._parentVnode = options._parentVnode;
3779 opts._parentListeners = options._parentListeners;
3780 opts._renderChildren = options._renderChildren;
3781 opts._componentTag = options._componentTag;
3782 opts._parentElm = options._parentElm;
3783 opts._refElm = options._refElm;
3784 if (options.render) {
3785 opts.render = options.render;
3786 opts.staticRenderFns = options.staticRenderFns;
3787 }
3788}
3789
3790function resolveConstructorOptions (Ctor) {
3791 var options = Ctor.options;

Callers 1

initMixinFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected