SAP Spartacus 如何根据 page layout 获得对应支持的 slots 2024-07-30 20:11:08 赞 (0) 相关推荐 SAP Spartacus Page Layout - 页面布局设计 Page Structure - 页面结构 Pages in CMS are constructed with slots and components. A page contains slots, ... 通过 Feature Level 动态控制 SAP Spartacus 的页面显示 ng-container 标签只在 design time 可见,运行时会完全从渲染出的 HTML 源代码里被移除.通过 ng-container 加上 SAP Spartacus 自定义实现的 cx ... SAP Spartacus B2B 页面 Disable Confirmation 对话框的显示原理 该按钮的实现位于 toggle-status.component.html 里,点击后,可以对当前显示的 B2B item 进行 activation 和 deactivation 操作. toggl ... SAP Spartacus B2B 页面 Disable 按钮的显示原理 SAP Spartacus B2B 页面 disable 按钮如下图所示. 这个高亮的 disable 按钮,和左边相邻的 Edit 按钮,实现位于不同的 Component. disable 按钮有 ... SAP Spartacus 升级时关于 schematics 的更新 When upgrading Spartacus to a new major version (for example, from 3.x to 4.0), the Spartacus migrat ... SAP Spartacus B2B 页面 Popover Component 的条件显示逻辑 如下图所示,这个 B2B 页面 的 Popover Component: 触发其的按钮位于 cx-org-card 内: 而下面这个 assigned users 明细页面,为什么就没有显示 Popo ... SAP Spartacus SplitViewComponent Migration 的一个具体例子 参考 Pull Request:https://github.com/SAP/spartacus/pull/9946/files 首先在 docs/migration/3.0_md 里添加文字描述: ... SAP Spartacus Popover Directive 构造函数的用途分析 该构造函数位于文件 popover.directive.ts 里: 第 11 行 cxPopOver Directive 施加到 button 元素上之后,运行时,cxPopOver Directiv ... SAP Spartacus 里的 cxOutletRef 指令执行过程分析 先看 cxOutletRef 指令的效果:ng-template 里定义了如下图标 1 区域所示的自定义 UI,通过 cxOutletRef, 将其插入到图标 2 所示的 ProductDetails ...