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

Function initInternalComponent

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

Source from the content-addressed store, hash-verified

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

Callers 1

initMixinFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected