ngx-modialog
Version:
Modal / Dialog for Angular
12 lines (11 loc) • 517 B
TypeScript
import { ViewContainerRef } from '@angular/core';
/**
* A Simple store that holds a reference to ViewContainerRef instances by a user defined key.
* This, with the OverlayTarget directive makes it easy to block the overlay inside an element
* without having to use the angular query boilerplate.
*/
export declare const vcRefStore: {
getVCRef: (key: string) => ViewContainerRef[];
setVCRef: (key: string, vcRef: ViewContainerRef) => void;
delVCRef: (key: string, vcRef?: ViewContainerRef) => void;
};