Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit 7792619

Browse files
TedSandernshahan
authored andcommitted
Migrate SimpleHtmlBlockComponent to OnPush
PiperOrigin-RevId: 242899101
1 parent d58db64 commit 7792619

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

angular_components/lib/simple_html/simple_html.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ class SimpleHtmlComponent extends _SimpleHtmlBase {
9696
selector: 'simple-html-block',
9797
template: '<div></div>',
9898
styleUrls: ['simple_html.scss.css'],
99+
changeDetection: ChangeDetectionStrategy.OnPush,
99100
)
100101
class SimpleHtmlBlockComponent extends _SimpleHtmlBase {
101102
final Element _element;

0 commit comments

Comments
 (0)