ngx-select2-ex
Version:
Angular(2+) version of the popular alternative to select inputs, Select2. Select2 classes are used in the template, so you can use any pre-existing styles for Select2 and it will look the same as the original.
15 lines (14 loc) • 805 B
TypeScript
import { ApplicationRef, ComponentFactoryResolver, ComponentRef, Injector, Type } from '@angular/core';
export declare class NgxSelect2ExDropdownInjectionService {
private applicationRef;
private componentFactoryResolver;
private injector;
private _container;
constructor(applicationRef: ApplicationRef, componentFactoryResolver: ComponentFactoryResolver, injector: Injector);
getRootViewContainer(): ComponentRef<any>;
setRootViewContainer(container: any): void;
getComponentRootNode(componentRef: ComponentRef<any>): HTMLElement;
getRootViewContainerNode(): HTMLElement;
projectComponentInputs(component: ComponentRef<any>, options: any): ComponentRef<any>;
appendComponent<T>(componentClass: Type<T>, options?: any, location?: Element): ComponentRef<any>;
}