@angular/elements

createCustomElement

function

Creates a custom element class based on an Angular component.

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