TypeScript @angular-core-src-linker-view_utils.flattenNestedViewRenderNodes类(方法)实例源码

下面列出了TypeScript @angular-core-src-linker-view_utils.flattenNestedViewRenderNodes 类(方法)源码代码实例,从而了解它的用法。

作者:lovae12    项目:on   
createInternal(rootSelector:string):import2.AppElement {
   const parentRenderNode:any = this.renderer.createViewRoot(this.declarationAppElement.nativeElement);
   this._text_0 = this.renderer.createText(parentRenderNode,'\n        ',(null as any));
   this._el_1 = this.renderer.createElement(parentRenderNode,'div',(null as any));
   this.renderer.setElementAttribute(this._el_1,'class','modal-dialog');
   this._NgClass_1_3 = new import11.NgClass(this.parentInjector.get(import12.IterableDiffers),this.parentInjector.get(import13.KeyValueDiffers),new import8.ElementRef(this._el_1),this.renderer);
   this._text_2 = this.renderer.createText(this._el_1,'\n            ',(null as any));
   this._el_3 = this.renderer.createElement(this._el_1,'div',(null as any));
   this.renderer.setElementAttribute(this._el_3,'class','modal-content');
   this._text_4 = this.renderer.createText(this._el_3,'\n                ',(null as any));
   this.renderer.projectNodes(this._el_3,import4.flattenNestedViewRenderNodes(this.projectableNodes[0]));
   this._text_5 = this.renderer.createText(this._el_3,'\n            ',(null as any));
   this._text_6 = this.renderer.createText(this._el_1,'\n        ',(null as any));
   this._text_7 = this.renderer.createText(parentRenderNode,'\n    ',(null as any));
   this._expr_0 = import7.UNINITIALIZED;
   this._expr_1 = import7.UNINITIALIZED;
   this.init([],[
     this._text_0,
     this._el_1,
     this._text_2,
     this._el_3,
     this._text_4,
     this._text_5,
     this._text_6,
     this._text_7
   ]
   ,[],[]);
   return (null as any);
 }

作者:mon005    项目:forefron   
createInternal(rootSelector:string):import2.AppElement {
   const parentRenderNode:any = this.renderer.createViewRoot(this.declarationAppElement.nativeElement);
   this._el_0 = this.renderer.createElement(parentRenderNode,'div',(null as any));
   this.renderer.setElementAttribute(this._el_0,'class','card-widget card widget-std');
   this._text_1 = this.renderer.createText(this._el_0,'\n    ',(null as any));
   this._el_2 = this.renderer.createElement(this._el_0,'div',(null as any));
   this.renderer.setElementAttribute(this._el_2,'class','top-line-heavy');
   this._text_3 = this.renderer.createText(this._el_0,'\n    ',(null as any));
   this._el_4 = this.renderer.createElement(this._el_0,'div',(null as any));
   this.renderer.setElementAttribute(this._el_4,'class','card-block');
   this._text_5 = this.renderer.createText(this._el_4,'\n      ',(null as any));
   this.renderer.projectNodes(this._el_4,import4.flattenNestedViewRenderNodes(this.projectableNodes[0]));
   this._text_6 = this.renderer.createText(this._el_4,'\n    ',(null as any));
   this._text_7 = this.renderer.createText(this._el_0,'\n',(null as any));
   this.init([],[
     this._el_0,
     this._text_1,
     this._el_2,
     this._text_3,
     this._el_4,
     this._text_5,
     this._text_6,
     this._text_7
   ]
   ,[],[]);
   return (null as any);
 }

作者:cis25    项目:cis25   
createInternal(rootSelector:string):import5.AppElement {
   const parentRenderNode:any = this.renderer.createViewRoot(this.declarationAppElement.nativeElement);
   this._el_0 = this.renderer.createElement(parentRenderNode,'div',(null as any));
   this.renderer.projectNodes(this._el_0,import2.flattenNestedViewRenderNodes(this.projectableNodes[0]));
   this.init(([] as any[]),[this._el_0],([] as any[]),([] as any[]));
   return (null as any);
 }

作者:lovae12    项目:on   
createInternal(rootSelector:string):import2.AppElement {
   const parentRenderNode:any = this.renderer.createViewRoot(this.declarationAppElement.nativeElement);
   this._text_0 = this.renderer.createText(parentRenderNode,'\n        ',(null as any));
   this._el_1 = this.renderer.createElement(parentRenderNode,'div',(null as any));
   this.renderer.setElementAttribute(this._el_1,'class','modal-body');
   this._text_2 = this.renderer.createText(this._el_1,'\n            ',(null as any));
   this.renderer.projectNodes(this._el_1,import4.flattenNestedViewRenderNodes(this.projectableNodes[0]));
   this._text_3 = this.renderer.createText(this._el_1,'\n        ',(null as any));
   this._text_4 = this.renderer.createText(parentRenderNode,'\n    ',(null as any));
   this.init([],[
     this._text_0,
     this._el_1,
     this._text_2,
     this._text_3,
     this._text_4
   ]
   ,[],[]);
   return (null as any);
 }


问题


面经


文章

微信
公众号

扫码关注公众号