Skip to content

Commit 217527e

Browse files
change ChangeDetectionStrategy.Eager to ChangeDetectionStrategy.Default for compatibility with previous versions of NG
1 parent e64fb49 commit 217527e

19 files changed

Lines changed: 22 additions & 22 deletions

File tree

apps/demos/Demos/Accordion/Overview/Angular/app/app.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {
22
ChangeDetectionStrategy,
33
Component,
44
enableProdMode,
5-
provideZoneChangeDetection
5+
provideZoneChangeDetection,
66
} from '@angular/core';
77
import { bootstrapApplication } from '@angular/platform-browser';
88
import {
@@ -22,7 +22,7 @@ if (window && window.config?.packageConfigPaths) {
2222
}
2323

2424
@Component({
25-
changeDetection: ChangeDetectionStrategy.Eager,
25+
changeDetection: ChangeDetectionStrategy.Default,
2626
selector: 'demo-app',
2727
templateUrl: `.${modulePrefix}/app.component.html`,
2828
styleUrls: [`.${modulePrefix}/app.component.css`],

apps/demos/Demos/Charts/ClientSideDataProcessing/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if (window && window.config?.packageConfigPaths) {
2525
}
2626

2727
@Component({
28-
changeDetection: ChangeDetectionStrategy.Eager,
28+
changeDetection: ChangeDetectionStrategy.Default,
2929
selector: 'demo-app',
3030
templateUrl: `.${modulePrefix}/app.component.html`,
3131
styleUrls: [`.${modulePrefix}/app.component.css`],

apps/demos/Demos/Charts/TilingAlgorithms/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if (window && window.config?.packageConfigPaths) {
1414
}
1515

1616
@Component({
17-
changeDetection: ChangeDetectionStrategy.Eager,
17+
changeDetection: ChangeDetectionStrategy.Default,
1818
selector: 'demo-app',
1919
templateUrl: `.${modulePrefix}/app.component.html`,
2020
styleUrls: [`.${modulePrefix}/app.component.css`],

apps/demos/Demos/DataGrid/DeferredSelection/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if (window && window.config?.packageConfigPaths) {
2222
}
2323

2424
@Component({
25-
changeDetection: ChangeDetectionStrategy.Eager,
25+
changeDetection: ChangeDetectionStrategy.Default,
2626
selector: 'demo-app',
2727
templateUrl: `.${modulePrefix}/app.component.html`,
2828
styleUrls: [`.${modulePrefix}/app.component.css`],

apps/demos/Demos/DataGrid/NewRecordPosition/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if (window && window.config?.packageConfigPaths) {
1919
}
2020

2121
@Component({
22-
changeDetection: ChangeDetectionStrategy.Eager,
22+
changeDetection: ChangeDetectionStrategy.Default,
2323
selector: 'demo-app',
2424
templateUrl: `.${modulePrefix}/app.component.html`,
2525
styleUrls: [`.${modulePrefix}/app.component.css`],

apps/demos/Demos/DataGrid/RemoteCRUDOperations/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if (window && window.config?.packageConfigPaths) {
2020

2121
@Component({
2222
selector: 'demo-app',
23-
changeDetection: ChangeDetectionStrategy.Eager,
23+
changeDetection: ChangeDetectionStrategy.Default,
2424
templateUrl: `.${modulePrefix}/app.component.html`,
2525
styleUrls: [`.${modulePrefix}/app.component.css`],
2626
preserveWhitespaces: true,

apps/demos/Demos/DataGrid/RowSelection/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if (window && window.config?.packageConfigPaths) {
1919
}
2020

2121
@Component({
22-
changeDetection: ChangeDetectionStrategy.Eager,
22+
changeDetection: ChangeDetectionStrategy.Default,
2323
selector: 'demo-app',
2424
templateUrl: `.${modulePrefix}/app.component.html`,
2525
styleUrls: [`.${modulePrefix}/app.component.css`],

apps/demos/Demos/Diagram/ItemSelection/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class StringifyItemsPipe implements PipeTransform {
3131
}
3232

3333
@Component({
34-
changeDetection: ChangeDetectionStrategy.Eager,
34+
changeDetection: ChangeDetectionStrategy.Default,
3535
selector: 'demo-app',
3636
templateUrl: `.${modulePrefix}/app.component.html`,
3737
styleUrls: [`.${modulePrefix}/app.component.css`],

apps/demos/Demos/FilterBuilder/Customization/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if (window && window.config?.packageConfigPaths) {
3131
@Component({
3232
selector: 'demo-app',
3333
providers: [Service],
34-
changeDetection: ChangeDetectionStrategy.Eager,
34+
changeDetection: ChangeDetectionStrategy.Default,
3535
templateUrl: `.${modulePrefix}/app.component.html`,
3636
styleUrls: [`.${modulePrefix}/app.component.css`],
3737
imports: [

apps/demos/Demos/List/DragAndDrop/Angular/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if (window && window.config?.packageConfigPaths) {
2121
providers: [Service],
2222
templateUrl: `.${modulePrefix}/app.component.html`,
2323
styleUrls: [`.${modulePrefix}/app.component.css`],
24-
changeDetection: ChangeDetectionStrategy.Eager,
24+
changeDetection: ChangeDetectionStrategy.Default,
2525
preserveWhitespaces: true,
2626
imports: [DxListModule],
2727
})

0 commit comments

Comments
 (0)