@alyle/ui
Version:
Minimal Design, a set of components for Angular
14 lines (13 loc) • 494 B
TypeScript
import { ComponentRef } from '@angular/core';
export declare class LyOverlayRef<T = any> {
containerElement: HTMLDivElement;
componentRef: ComponentRef<T> | null;
/** Function that will be called on scroll or resize event */
onResizeScroll: (() => void) | null;
/** Detaches a view from dirty checking again of ApplicationRef. */
readonly detach: () => void;
/** Remove element of DOM */
remove: () => void;
/** Detach & remove */
destroy: () => void;
}