@nova-ui/bits
Version:
SolarWinds Nova Framework
18 lines (17 loc) • 806 B
TypeScript
import * as i0 from "@angular/core";
/** @dynamic */
export declare class OverlayContainerService {
private document;
constructor(document: Document);
/**
* Create a shared container to be used by all overlays if needed
*
* @param elementOrSelector - specifies the container where the overlay will be created
* @param priority - used for rendering overlays above or below others
* (lower values will be rendered below higher priority values)
*/
getOverlayContainer(elementOrSelector?: Element | string, priority?: number): HTMLElement;
private createSharedContainer;
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayContainerService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<OverlayContainerService>;
}