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

Function initInternalComponent

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

Source from the content-addressed store, hash-verified

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

Callers 1

initMixinFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected