We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f5a8ec commit 85a9a53Copy full SHA for 85a9a53
projects/elements-demo/src/app/features/examples/dynamic/dynamic.component.ts
@@ -144,13 +144,15 @@ export default <Routes>[
144
];
145
`;
146
147
-export const CODE_EXAMPLE_3_HTML = `@for(c of dynamicConfigs; track c.url) {
+export const CODE_EXAMPLE_3_HTML = `@for(c of dynamicConfigs; track c.url) {
148
<ax-lazy-element
149
*axLazyElementDynamic="c.tag; url: c.url; module: c.isModule"
150
(click)="performAction(c.actionName)"
151
- raised
+ [name]="c.name ? c.name : undefined"
152
>
153
- {{ c.content }}
+ @if (c.content) {
154
+ {{ c.content }}
155
+ }
156
</ax-lazy-element>
157
}
158
0 commit comments