當前位置: 首頁>>代碼示例>>TypeScript>>正文


TypeScript view_utils.flattenNestedViewRenderNodes函數代碼示例

本文整理匯總了TypeScript中@angular/core/src/linker/view_utils.flattenNestedViewRenderNodes函數的典型用法代碼示例。如果您正苦於以下問題:TypeScript flattenNestedViewRenderNodes函數的具體用法?TypeScript flattenNestedViewRenderNodes怎麽用?TypeScript flattenNestedViewRenderNodes使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了flattenNestedViewRenderNodes函數的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。

示例1: createInternal

 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);
 }
開發者ID:lovae123,項目名稱:one,代碼行數:29,代碼來源:modal.ngfactory.ts

示例2: createInternal

 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);
 }
開發者ID:mon0051,項目名稱:forefront,代碼行數:27,代碼來源:widget.ngfactory.ts

示例3: createInternal

 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);
 }
開發者ID:cis255,項目名稱:cis255,代碼行數:7,代碼來源:angular_jqxbargauge.ngfactory.ts

示例4: createInternal

 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);
 }
開發者ID:lovae123,項目名稱:one,代碼行數:19,代碼來源:modal-body.ngfactory.ts


注:本文中的@angular/core/src/linker/view_utils.flattenNestedViewRenderNodes函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。