Skip to content

Commit 12f09ba

Browse files
committed
fix(demo): add loading template for fully dynamic example
1 parent 51d576f commit 12f09ba

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

projects/elements-demo/src/app/features/examples/dynamic/dynamic.component.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,16 @@ <h2 id="multiple-different-dynamic-elements">
123123
<div class="implementation" *ngIf="example3">
124124
<div class="actions">
125125
<ng-container *ngFor="let c of dynamicConfigs">
126+
<ng-template #loading
127+
>Loading <{{ c.tag }}>...&nbsp;&nbsp;</ng-template
128+
>
126129
<ax-lazy-element
127-
*axLazyElementDynamic="c.tag; url: c.url; module: c.isModule"
130+
*axLazyElementDynamic="
131+
c.tag;
132+
url: c.url;
133+
module: c.isModule;
134+
loadingTemplate: loading
135+
"
128136
(click)="performAction(c.actionName)"
129137
raised
130138
>

0 commit comments

Comments
 (0)