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

Function initInternalComponent

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

Source from the content-addressed store, hash-verified

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

Callers 1

initMixinFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected