@angular/elements

createCustomElement

function

Creates a custom element class based on an Angular component.

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