Home
last modified time | relevance | path

Searched refs:parentVm (Results 1 – 2 of 2) sorted by relevance

/third_party/jsframework/runtime/main/model/
Dindex.ts108 private __slotContext: { content: Record<string, any>, parentVm: Vm };
114 parentVm: Vm | any,
120 this.__parent = parentVm.__realParent ? parentVm.__realParent : parentVm;
121 this.__app = parentVm.__app;
122 parentVm.__childrenVms && parentVm.__childrenVms.push(this);
820 public set _slotContext(newMSoltContext: { content: Record<string, any>, parentVm: Vm }) {
Dcompiler.ts405 const parentVm = vm._slotContext.parentVm; constant
419 parentVm[slotScope] = vm._data;
423 compileChildren(parentVm, { children: namedContent }, slotItem.dest);
554 this.__slotContext = { content: namedContents, parentVm: vm };
668 const parentVm = binding.parent; constant
669 if (target && target.events && parentVm && element) {
671 const handler = parentVm[target.events[type]];
673 element.addEvent(type, handler.bind(parentVm));