Represents a container where one or more views can be attached to a component.
abstract class ViewContainerRef { abstract readonly element: ElementRef<any>; abstract readonly injector: Injector; abstract readonly parentInjector: Injector; abstract clear(): void; abstract get(index: number): ViewRef; abstract readonly length: number; abstract createEmbeddedView(templateRef: TemplateRef<C>, context?: C, options?: { index?: number; injector?: Injector; }): EmbeddedViewRef<C>; abstract createEmbeddedView(templateRef: TemplateRef<C>, context?: C, index?: number): EmbeddedViewRef<C>; abstract createEmbeddedView(templateRef: TemplateRef<C>, context?: C, options?: { index?: number; injector?: Injector; }): EmbeddedViewRef<C>; abstract createEmbeddedView(templateRef: TemplateRef<C>, context?: C, index?: number): EmbeddedViewRef<C>; abstract createComponent(componentType: Type<C>, options?: { index?: number; injector?: Injector; ngModuleRef?: NgModuleRef<unknown>; environmentInjector?: EnvironmentInjector | NgModuleRef<unknown>; projectableNodes?: Node[][]; }): ComponentRef<C>; abstract createComponent(componentFactory: ComponentFactory<C>, index?: number, injector?: Injector, projectableNodes?: any[][], environmentInjector?: EnvironmentInjector | NgModuleRef<any>): ComponentRef<C>; abstract createComponent(componentType: Type<C>, options?: { index?: number; injector?: Injector; ngModuleRef?: NgModuleRef<unknown>; environmentInjector?: EnvironmentInjector | NgModuleRef<unknown>; projectableNodes?: Node[][]; }): ComponentRef<C>; abstract createComponent(componentFactory: ComponentFactory<C>, index?: number, injector?: Injector, projectableNodes?: any[][], environmentInjector?: EnvironmentInjector | NgModuleRef<any>): ComponentRef<C>; abstract insert(viewRef: ViewRef, index?: number): ViewRef; abstract move(viewRef: ViewRef, currentIndex: number): ViewRef; abstract indexOf(viewRef: ViewRef): number; abstract remove(index?: number): void; abstract detach(index?: number): ViewRef;}