Angular Master (283 Qs)•Part 2: HttpClient, RxJS Observables & Angular Elements (36 - 62)
What is the browser support of Angular Elements?
junior LevelMost AskedCode ExampleCLIRxJSHTTP & REST APIs
Since Angular elements are packaged as custom elements the browser support of angular elements is same as custom elements support.
This feature is is currently supported natively in a number of browsers and pending for other browsers.
| Browser | Angular Element Support |
|---|---|
| Chrome | Natively supported |
| Opera | Natively supported |
| Safari | Natively supported |
| Firefox | Natively supported from 63 version onwards. You need to enable dom.webcomponents.enabled and dom.webcomponents.customelements.enabled in older browsers |
| Edge | Currently it is in progress |
Practical Code Example
text
// Angular Elements Browser Support:
// Supported natively in all modern browsers (Chrome, Edge, Safari, Firefox).
// Legacy browsers require standard Custom Elements polyfills:
// @webcomponents/custom-elements