@tarktech/ngx-context
Version:
Angular Context: Easy property binding for router outlet and nested component trees.
10 lines (9 loc) • 701 B
TypeScript
import { ChangeDetectorRef } from '@angular/core';
import { AbstractContextConsumer } from './consumer.abstract';
import { ContextProviderComponent } from './provider.component';
import * as i0 from "@angular/core";
export declare class ContextConsumerComponent<T = any> extends AbstractContextConsumer<T> {
constructor(providerComponent: ContextProviderComponent, parent: ChangeDetectorRef);
static ɵfac: i0.ɵɵFactoryDeclaration<ContextConsumerComponent<any>, [{ optional: true; skipSelf: true; }, { optional: true; skipSelf: true; }]>;
static ɵcmp: i0.ɵɵComponentDeclaration<ContextConsumerComponent<any>, "context-consumer", never, {}, {}, never, never, false, never>;
}