1 | import { NgZone } from '@angular/core';
|
2 | import { ViewportRuler } from '@angular/cdk/overlay';
|
3 | import { NbPlatform } from '../platform/platform-service';
|
4 | import { NbLayoutRulerService } from '../../../services/ruler.service';
|
5 | import { NbLayoutScrollService } from '../../../services/scroll.service';
|
6 | import * as i0 from "@angular/core";
|
7 | export declare class NbViewportRulerAdapter extends ViewportRuler {
|
8 | protected ruler: NbLayoutRulerService;
|
9 | protected scroll: NbLayoutScrollService;
|
10 | constructor(platform: NbPlatform, ngZone: NgZone, ruler: NbLayoutRulerService, scroll: NbLayoutScrollService, document: any);
|
11 | getViewportSize(): Readonly<{
|
12 | width: number;
|
13 | height: number;
|
14 | }>;
|
15 | getViewportScrollPosition(): {
|
16 | left: number;
|
17 | top: number;
|
18 | };
|
19 | static ɵfac: i0.ɵɵFactoryDeclaration<NbViewportRulerAdapter, never>;
|
20 | static ɵprov: i0.ɵɵInjectableDeclaration<NbViewportRulerAdapter>;
|
21 | }
|