Visitar URL original
NgElementConstructor • Angular
The Wayback Machine - https://web.archive.org/web/20250423215736/https://angular.dev/api/elements/NgElementConstructor
    • Overview
@angular/elements

NgElementConstructor

interface

Prototype for a class constructor based on an Angular component that can be used for custom element registration. Implemented and returned by the createCustomElement() function.

API

  
    interface NgElementConstructor<P> {}
  
  

observedAttributes

string[]

An array of observed attribute names for the custom element, derived by transforming input property names from the source component.

Jump to details