On this page
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.
interface NgElementConstructor<P> {
  observedAttributes: string[]
  new (injector?: Injector): NgElement & WithProperties<P>
}
   See also
Properties
| Property | Description | 
|---|---|
observedAttributes: string[] | 
       Read-Only  An array of observed attribute names for the custom element, derived by transforming input property names from the source component.  | 
      
Methods
| 
         
         construct signature
          | 
      |||
|---|---|---|---|
Initializes a constructor instance.  | 
      |||
        
          | 
      
injector | 
            Injector | 
            If provided, overrides the configured injector. Optional. Default is   | 
           
Returns
NgElement & WithProperties<P>
© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
 https://v12.angular.io/api/elements/NgElementConstructor