UNPKG

@nebular/theme

Version:
18 lines (17 loc) 1.19 kB
import { ComponentFactoryResolver, ComponentRef, TemplateRef, Type } from '@angular/core'; import { NbComponentType, NbOverlay, NbOverlayConfig, NbOverlayRef } from './mapping'; import { NbScrollStrategyOptions } from '../adapter/block-scroll-strategy-adapter'; import { NbLayoutDirectionService } from '../../../services/direction.service'; import * as i0 from "@angular/core"; export type NbOverlayContent = Type<any> | TemplateRef<any> | string; export declare function patch<T>(container: ComponentRef<T>, containerContext: Object): ComponentRef<T>; export declare function createContainer<T>(ref: NbOverlayRef, container: NbComponentType<T>, context: Object, componentFactoryResolver?: ComponentFactoryResolver): ComponentRef<T>; export declare class NbOverlayService { protected overlay: NbOverlay; protected layoutDirection: NbLayoutDirectionService; constructor(overlay: NbOverlay, layoutDirection: NbLayoutDirectionService); get scrollStrategies(): NbScrollStrategyOptions; create(config?: NbOverlayConfig): NbOverlayRef; static ɵfac: i0.ɵɵFactoryDeclaration<NbOverlayService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<NbOverlayService>; }