Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要不要延迟加载带有清晰选项卡组件的选项卡,并且能够以编程方式在选项卡之间切换。问题是如果我应用提到它的指令,文档 [(clrIfActive)] 内容会被延迟加载。这是文档:https ://v2.clarity.design/tabs
如果您想要延迟加载,请*clrIfActive在组件标记中包含该指令clr-tab-content,例如:
*clrIfActive
clr-tab-content
<clr-tab-content id="content1" *clrIfActive> ... </clr-tab-content>
如果您不想延迟加载,请忽略*clrIfActive。