Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@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
component
Type<T>
inputs
object | undefined