diff --git a/src/app/basic/contextmenu.component.ts b/src/app/basic/contextmenu.component.ts
index 25c8221dc..f7d2defc8 100644
--- a/src/app/basic/contextmenu.component.ts
+++ b/src/app/basic/contextmenu.component.ts
@@ -23,14 +23,21 @@ import { Employee } from '../data.model';
demonstrates how you would access the contextmenu
event to display your own
custom context menu.
-
- Mouse position: (x: {{ rawEvent?.x }}, y: {{ rawEvent?.y }})
-
- Row: {{ contextmenuRow?.name }}
-
- Header: name: {{ contextmenuColumn?.name }} prop:
- {{ contextmenuColumn?.prop }}
-
+ @if (rawEvent) {
+
+ Mouse position:
+ (x: {{ rawEvent?.x }}, y: {{ rawEvent?.y }})
+
+ }
+ @if (contextmenuRow) {
+ Row: {{ contextmenuRow?.name }}
+ }
+ @if (contextmenuColumn) {
+
+ Header: name: {{ contextmenuColumn?.name }} prop:
+ {{ contextmenuColumn?.prop }}
+
+ }
-
+
-
- {{ value }}
-
-
+ @if (editing[rowIndex + '-name']) {
+
+ } @else {
+
+ {{ value }}
+
+ }
@@ -57,22 +55,21 @@ import { Employee } from '../data.model';
let-row="row"
let-value="value"
>
-
- {{ value }}
-
-
- Male
- Female
-
+ @if (!editing[rowIndex + '-gender']) {
+
+ {{ value }}
+
+ }
+ @if (editing[rowIndex + '-gender']) {
+
+ Male
+ Female
+
+ }
diff --git a/src/app/basic/scrolling-dynamically.component.ts b/src/app/basic/scrolling-dynamically.component.ts
index def44776c..a34d4762f 100644
--- a/src/app/basic/scrolling-dynamically.component.ts
+++ b/src/app/basic/scrolling-dynamically.component.ts
@@ -37,20 +37,18 @@ import { Employee } from '../data.model';
let-value="value"
let-row="row"
>
-
- {{ value }}
-
-
+ @if (editing[rowIndex + '-name']) {
+
+ } @else {
+
+ {{ value }}
+
+ }
@@ -60,22 +58,21 @@ import { Employee } from '../data.model';
let-row="row"
let-value="value"
>
-
- {{ value }}
-
-
- Male
- Female
-
+ @if (!editing[rowIndex + '-gender']) {
+
+ {{ value }}
+
+ }
+ @if (editing[rowIndex + '-gender']) {
+
+ Male
+ Female
+
+ }
diff --git a/src/app/basic/tabs.component.ts b/src/app/basic/tabs.component.ts
index c6207a779..ab52f168f 100644
--- a/src/app/basic/tabs.component.ts
+++ b/src/app/basic/tabs.component.ts
@@ -46,22 +46,24 @@ import { FullEmployee } from '../data.model';
-
-
ngIf Table
-
-
-
-
-
-
+ @if (tab3) {
+
+
ngIf Table
+
+
+
+
+
+
+ }
`
diff --git a/src/app/columns/column-toggle.component.ts b/src/app/columns/column-toggle.component.ts
index 87a1dcd88..5feefb527 100644
--- a/src/app/columns/column-toggle.component.ts
+++ b/src/app/columns/column-toggle.component.ts
@@ -26,22 +26,25 @@ import { Employee } from '../data.model';
[footerHeight]="50"
rowHeight="auto"
>
-
-
+ @for (col of columns; track col) {
+
+ }
diff --git a/src/app/selection/selection-chkbox-template.component.ts b/src/app/selection/selection-chkbox-template.component.ts
index f88dadfae..080308a21 100644
--- a/src/app/selection/selection-chkbox-template.component.ts
+++ b/src/app/selection/selection-chkbox-template.component.ts
@@ -71,10 +71,14 @@ import { Employee } from '../data.model';
Selections ({{ selected?.length }})
-
- {{ sel.name }}
-
- No Selections
+ @for (sel of selected; track sel) {
+
+ {{ sel.name }}
+
+ }
+ @if (!selected?.length) {
+ No Selections
+ }
diff --git a/src/app/selection/selection-chkbox.component.ts b/src/app/selection/selection-chkbox.component.ts
index 52cb1f100..43b161849 100644
--- a/src/app/selection/selection-chkbox.component.ts
+++ b/src/app/selection/selection-chkbox.component.ts
@@ -60,10 +60,14 @@ import { Employee } from '../data.model';
Selections ({{ selected?.length }})
-
- {{ sel.name }}
-
- No Selections
+ @for (sel of selected; track sel) {
+
+ {{ sel.name }}
+
+ }
+ @if (!selected?.length) {
+ No Selections
+ }
diff --git a/src/app/selection/selection-disabled.component.ts b/src/app/selection/selection-disabled.component.ts
index 8abbe523f..353bece49 100644
--- a/src/app/selection/selection-disabled.component.ts
+++ b/src/app/selection/selection-disabled.component.ts
@@ -39,10 +39,14 @@ import { Employee } from '../data.model';
Selections
-
- {{ sel.name }}
-
- No Selections
+ @for (sel of selected; track sel) {
+
+ {{ sel.name }}
+
+ }
+ @if (!selected.length) {
+ No Selections
+ }
diff --git a/src/app/selection/selection-multi-click-chkbox.component.ts b/src/app/selection/selection-multi-click-chkbox.component.ts
index 903555f15..9441cfb4f 100644
--- a/src/app/selection/selection-multi-click-chkbox.component.ts
+++ b/src/app/selection/selection-multi-click-chkbox.component.ts
@@ -61,10 +61,14 @@ import { Employee } from '../data.model';
Selections ({{ selected?.length }})
-
- {{ sel.name }}
-
- No Selections
+ @for (sel of selected; track sel) {
+
+ {{ sel.name }}
+
+ }
+ @if (!selected?.length) {
+ No Selections
+ }
diff --git a/src/app/selection/selection-multi-click.component.ts b/src/app/selection/selection-multi-click.component.ts
index 9ed02395e..5ad474fe6 100644
--- a/src/app/selection/selection-multi-click.component.ts
+++ b/src/app/selection/selection-multi-click.component.ts
@@ -42,10 +42,14 @@ import { Employee } from '../data.model';
Selections
-
- {{ sel.name }}
-
- No Selections
+ @for (sel of selected; track sel) {
+
+ {{ sel.name }}
+
+ }
+ @if (!selected.length) {
+ No Selections
+ }
diff --git a/src/app/selection/selection-multi.component.ts b/src/app/selection/selection-multi.component.ts
index 70218bc84..3a4f7972a 100644
--- a/src/app/selection/selection-multi.component.ts
+++ b/src/app/selection/selection-multi.component.ts
@@ -45,10 +45,14 @@ import { Employee } from '../data.model';
Selections
-
- {{ sel.name }}
-
- No Selections
+ @for (sel of selected; track sel) {
+
+ {{ sel.name }}
+
+ }
+ @if (!selected.length) {
+ No Selections
+ }
diff --git a/src/app/selection/selection-single.component.ts b/src/app/selection/selection-single.component.ts
index cca0aaed0..2bd633a1a 100644
--- a/src/app/selection/selection-single.component.ts
+++ b/src/app/selection/selection-single.component.ts
@@ -45,10 +45,14 @@ import { Employee } from '../data.model';
Selections
-
- {{ sel.name }}
-
- No Selections
+ @for (sel of selected; track sel) {
+
+ {{ sel.name }}
+
+ }
+ @if (!selected.length) {
+ No Selections
+ }
diff --git a/src/app/summary/summary-row-custom-template.component.ts b/src/app/summary/summary-row-custom-template.component.ts
index d39d1d9bc..583dfc46a 100644
--- a/src/app/summary/summary-row-custom-template.component.ts
+++ b/src/app/summary/summary-row-custom-template.component.ts
@@ -29,9 +29,11 @@ import { Employee } from '../data.model';
-
- {{ name }}
-
+ @for (name of getNames(); track name) {
+
+ {{ name }}
+
+ }
diff --git a/src/app/summary/summary-row-inline-html.component.ts b/src/app/summary/summary-row-inline-html.component.ts
index 8603d519e..d858aafff 100644
--- a/src/app/summary/summary-row-inline-html.component.ts
+++ b/src/app/summary/summary-row-inline-html.component.ts
@@ -35,9 +35,11 @@ import { Employee } from '../data.model';
-
- {{ name }}
-
+ @for (name of getNames(); track name) {
+
+ {{ name }}
+
+ }
diff --git a/src/app/templates/template-obj.component.ts b/src/app/templates/template-obj.component.ts
index 9b0a9a01e..1198d454d 100644
--- a/src/app/templates/template-obj.component.ts
+++ b/src/app/templates/template-obj.component.ts
@@ -33,16 +33,12 @@ import { Employee } from '../data.model';
-
-
+ @if (value === 'male') {
+
+ }
+ @if (value === 'female') {
+
+ }
`
diff --git a/src/app/tree/fullscreen.component.ts b/src/app/tree/fullscreen.component.ts
index 772a42366..1b14ee52a 100644
--- a/src/app/tree/fullscreen.component.ts
+++ b/src/app/tree/fullscreen.component.ts
@@ -40,10 +40,18 @@ import { Employee } from '../data.model';
>
- ...
- ↑
- ↓
- ⃠
+ @if (tree.treeStatus === 'loading') {
+ ...
+ }
+ @if (tree.treeStatus === 'collapsed') {
+ ↑
+ }
+ @if (tree.treeStatus === 'expanded') {
+ ↓
+ }
+ @if (tree.treeStatus === 'disabled') {
+ ⃠
+ }