@ng-doc/app / Function

createComponent

Generic types:T

No documentation has been provided.

Presentation

function createComponent(
  viewContainer: ViewContainerRef,
  component: Type<T>,
  inputs?: object | undefined,
): void;

Returns

void

Parameters

NameTypeDescription
viewContainer
ViewContainerRef

@param viewContainer

component
Type<T>

@param component

inputs
object | undefined

@param inputs