Change Brand Accent Change Detection Strategy
This commit is contained in:
1 parent
02f936b345
commit
be48e8ef89
1 file changed
+2
-1
@@ -1,5 +1,5 @@
|
|||||||
import {
|
import {
|
||||||
afterNextRender,
|
afterNextRender, ChangeDetectionStrategy,
|
||||||
Component,
|
Component,
|
||||||
effect,
|
effect,
|
||||||
ElementRef,
|
ElementRef,
|
||||||
@@ -17,6 +17,7 @@ import { SettingsService } from '../../services/settings.service';
|
|||||||
imports: [CommonModule],
|
imports: [CommonModule],
|
||||||
templateUrl: './brand-accent.html',
|
templateUrl: './brand-accent.html',
|
||||||
styleUrl: './brand-accent.scss',
|
styleUrl: './brand-accent.scss',
|
||||||
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||||
})
|
})
|
||||||
export class BrandAccent implements OnDestroy {
|
export class BrandAccent implements OnDestroy {
|
||||||
canvasRef = viewChild<ElementRef<HTMLCanvasElement>>('canvasElement');
|
canvasRef = viewChild<ElementRef<HTMLCanvasElement>>('canvasElement');
|
||||||
|
|||||||
Reference in new issue
Block a user