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

Commit a040aa6

Browse files
TedSandernshahan
authored andcommitted
Migrate SimpleHtmlComponent to be OnPush
PiperOrigin-RevId: 242906267
1 parent 7792619 commit a040aa6

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
@@ -72,6 +72,7 @@ const _externalUriAllowedSchemes = {'http', 'https', 'mailto'};
7272
selector: 'simple-html',
7373
template: '<span></span>',
7474
styleUrls: ['simple_html.scss.css'],
75+
changeDetection: ChangeDetectionStrategy.OnPush,
7576
)
7677
class SimpleHtmlComponent extends _SimpleHtmlBase {
7778
final Element _element;

0 commit comments

Comments
 (0)