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

Function initInternalComponent

static/vuejs/vue.runtime.esm.js:3767–3782  ·  view source on GitHub ↗
(vm, options)

Source from the content-addressed store, hash-verified

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

Callers 1

initMixinFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected