Skip to content

Commit e457997

Browse files
add changeDetection: ChangeDetectionStrategy.Eager to demos
1 parent 01253b1 commit e457997

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Component, enableProdMode, provideZoneChangeDetection } from '@angular/core';
1+
import { ChangeDetectionStrategy, Component, enableProdMode, provideZoneChangeDetection } from '@angular/core';
22
import { bootstrapApplication } from '@angular/platform-browser';
33
import { DxSchedulerModule, DxDraggableModule, DxScrollViewModule } from 'devextreme-angular';
44
import { DxSchedulerTypes } from 'devextreme-angular/ui/scheduler';
@@ -16,6 +16,7 @@ if (window && window.config?.packageConfigPaths) {
1616
}
1717

1818
@Component({
19+
changeDetection: ChangeDetectionStrategy.Eager,
1920
selector: 'demo-app',
2021
templateUrl: `.${modulePrefix}/app.component.html`,
2122
styleUrls: [`.${modulePrefix}/app.component.css`],

0 commit comments

Comments
 (0)