UNPKG

@sedeh/into-pipes

Version:

Have you ever wanted to transform data in different parts of your application into interactive objects without writing a single line of code?

31 lines (30 loc) 1.29 kB
import { ViewContainerRef, ElementRef, OnInit } from '@angular/core'; import { ComponentPool } from './component.pool'; import * as i0 from "@angular/core"; export declare class IntoDirective implements OnInit { private viewRef; el: ElementRef; private pool; private components; private disabledComponents; private activeComponents; private validatingMethod; rawContent: any; intoId: any; intoName: any; intoData: any; set disabled(value: boolean); set active(value: boolean); set validate(value: any); into: string | string[] | undefined; onComponentChange: (event: any) => void; constructor(viewRef: ViewContainerRef, el: ElementRef, pool: ComponentPool); private split; private _transform; private transformComponent; private registeredComponentFor; private initInstance; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<IntoDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<IntoDirective, "[into]", never, { "rawContent": "rawContent"; "intoId": "intoId"; "intoName": "intoName"; "intoData": "intoData"; "disabled": "disabled"; "active": "active"; "validate": "validate"; "into": "into"; "onComponentChange": "onComponentChange"; }, {}, never, never, false, never>; }