Mateusz Daniluk
de777afbc5
refactor: standardize doctype declaration to <!DOCTYPE html> ( #51052 )
...
This commit standardizes the doctype declaration across all HTML files in the project to use `<!DOCTYPE html>`
PR Close #51052
2024-02-01 19:29:46 +00:00
aanchal
6691c497e2
docs: add lang attributes to the files ( #51200 )
...
PR Close #51200
2023-08-01 11:58:44 -07:00
George Kalpakas
bdce7698fc
fix(elements): update the view of an OnPush component when inputs change ( #39452 )
...
As with regular Angular components, Angular elements are expected to
have their views update when inputs change.
Previously, Angular Elements views were not updated if the underlying
component used the `OnPush` change detection strategy.
This commit fixes this by calling `markForCheck()` on the component
view's `ChangeDetectorRef`.
NOTE:
This is similar to how `@angular/upgrade` does it:
https://github.com/angular/angular/blob/3236ae0ee118d0734c90fa9f3767435396213470/packages/upgrade/src/common/src/downgrade_component_adapter.ts#L146 .
Fixes #38948
PR Close #39452
2020-11-06 09:31:46 -08:00
George Kalpakas
c1907809a8
test(elements): add integration tests for Angular Elements using ShadowDom ( #39452 )
...
Previously, the project used for running integration tests for Angular
Elements declared a component that used `ShadowDom` for view
encopsulation, but it did not include any tests to verify that the view
was updated correctly.
This commit adds the missing tests.
PR Close #39452
2020-11-06 09:31:46 -08:00
Rob Wormald
4815b92495
test(elements): add basic integration test for angular elements ( #24861 )
...
PR Close #24861
2018-08-30 21:33:14 -07:00