@angular/elements

createCustomElement

function

Creates a custom element class based on an Angular component.

  
    function createCustomElement<P>(  component: Type<any>,  config: NgElementConfig): NgElementConstructor<P>;
  
  
Jump to details