SAP Spartacus B2B 页面 Popover Component 的条件显示逻辑
生活随笔
收集整理的這篇文章主要介紹了
SAP Spartacus B2B 页面 Popover Component 的条件显示逻辑
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
如下圖所示,這個 B2B 頁面 的 Popover Component:
觸發其的按鈕位于 cx-org-card 內:
而下面這個 assigned users 明細頁面,為什么就沒有顯示 Popover Component 的(i) 按鈕了呢?
究其原因,selector cx-org-card 對應 CardComponent,在其模板實現里,有一個標志位,控制是否顯示 Popover Component:showHint
整個按鈕,被 *ngIf Directive 控制。
budget 明細頁面沒有 (i) icon,因為消費 card Component 時,沒有顯式傳入 showHint = true:
再比較 unit detail Component,顯式傳入的 showHint = true:
更多Jerry的原創文章,盡在:“汪子熙”:
總結
以上是生活随笔為你收集整理的SAP Spartacus B2B 页面 Popover Component 的条件显示逻辑的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: win10桌面管理器进程explorer
- 下一篇: windows server搭建邮件服务