SAP Spartacus PagelayoutComponent里的template
生活随笔
收集整理的這篇文章主要介紹了
SAP Spartacus PagelayoutComponent里的template
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
添加如下打印語句:
<h1>PageLayout template: {{ layoutName$ | async }} </h1> <h2>template name: {{ templateName$ | async }} </h2> <h3>slot name: {{ slots$ | async }}</h3> <h4>section name: {{ section$ | async }}</h4> <ng-template[cxOutlet]="layoutName$ | async"[cxOutletContext]="{templateName$: templateName$,slots$: slots$,section$: section$}" ><ng-content></ng-content><cx-page-slot*ngFor="let slot of slots$ | async"[position]="slot"[isPageFold]="slot === (pageFoldSlot$ | async)"></cx-page-slot> </ng-template>輸出:
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
總結
以上是生活随笔為你收集整理的SAP Spartacus PagelayoutComponent里的template的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 顺治通宝多少钱一枚,没有固定的价格
- 下一篇: SAP Shipping address