What is an angular Element? -Expert level Angular Interview Questions
Oct 4, 2024
Angular element is nothing just a web component / web element having custom behavior of combined feature (/api/code/style etc).
We create componet using angular and use it other framework or vanilla js also, Component register with browser lifecyle.
@angular/elements
package exports a createCustomElement()
ex funcction for creating and it transform the whole angular component with its life cyle to DOM API..
We use it like normal html tag . they follow life cyle creation , attaching detaching destroying.
For More details read here
Official Guide- Angular Element