angular/packages/elements/PACKAGE.md
Alan Agius 26fed34e0e
build: format md files
This commit configures prettier to format markdown files.
2025-11-06 10:03:05 -08:00

697 B

Implements Angular's custom-element API, which enables you to package components as custom elements.

A custom element extends HTML by allowing you to define a tag whose content is created and controlled by JavaScript code. The browser maintains a CustomElementRegistry of defined custom elements (also called Web Components), which maps an instantiable JavaScript class to an HTML tag.

The createCustomElement() function provides a bridge from Angular's component interface and change detection functionality to the built-in DOM API.

For more information, see Angular Elements Overview.