You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create tooling to make Angular wrapper for easy consumption in target projects and to ensure existing tests (badge.component.spec.ts) can be run.
Stencil maintainers have some considerations on why Angular wrappers makes sense here.
If we want to ensure backward compatability, there are three key arguments for creating the wrappers:
If there are no angular wrappers, consumers have to use CUSTOM_ELEMENTS_SCHEMA in all modules, effectively ignoring tag validation.
View queries like ViewChild(SomeComponent) will no longer work, and will have to be re-written with the element name instead.
No dependency injection of components possible if there is no angular type
Issues
Single hand coded wrapper with inputs, outputs and slotted content, for badge
RasmusKjeldgaard
changed the title
[WebComp] Add Angular wrapper for Badge Web Component
[WebComp] Add Angular wrappers for Web Components
Jun 18, 2024
RasmusKjeldgaard
changed the title
[WebComp] Add Angular wrappers for Web Components
[Tracking] Add Angular wrappers for Web Components
Jun 18, 2024
Create tooling to make Angular wrapper for easy consumption in target projects and to ensure existing tests (
badge.component.spec.ts
) can be run.Stencil maintainers have some considerations on why Angular wrappers makes sense here.
If we want to ensure backward compatability, there are three key arguments for creating the wrappers:
ViewChild(SomeComponent)
will no longer work, and will have to be re-written with the element name instead.Issues
Further reading
The text was updated successfully, but these errors were encountered: