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
Kristiyan Kostadinov
359103274b
test: clean up more entryComponents usages ( #44561 )
...
Cleans up some more tests that were using `entryComponents`.
PR Close #44561
2022-01-06 18:36:22 +00:00
Paul Gschwendtner
6e4821f06c
test: update ng_elements integration test to run with APF v13 ( #43431 )
...
Updates the `ng_elements` integration test to work with the APF
v13 format by also enabling the linker for the FW packages.
PR Close #43431
2021-10-01 18:28:46 +00: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
George Kalpakas
53bae68617
test: make elements integration tests less flaky ( #26869 )
...
PR Close #26869
2018-11-02 10:37:34 -07:00
Rob Wormald
a8210d010b
fix(elements): strict null checks ( #24861 )
...
PR Close #24861
2018-08-30 21:33:14 -07:00
Rob Wormald
c9844a2f01
feat(elements): enable Shadow DOM v1 and slots ( #24861 )
...
When using ViewEncapsulation.ShadowDom, Angular will not remove the child nodes of the DOM node a root Component is bootstrapped into. This enables developers building Angular Elements to use the `<slot>` element to do native content projection.
PR Close #24861
2018-08-30 21:33:14 -07: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