UNPKG

ngx-slice-kit

Version:

[![npm version](https://badge.fury.io/js/ngx-slice-kit.svg)](https://badge.fury.io/js/ngx-slice-kit)

34 lines (33 loc) 1.25 kB
import { ElementRef } from '@angular/core'; import { Platform } from '@angular/cdk/platform'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class LayoutControlService { private document; readonly platform: Platform; readonly supportedInputTypes: string; readonly supportsPassiveEventListeners: boolean; readonly supportsScrollBehavior: boolean; /** * simple bool behaviorSubject which returns is mobileLayout active or not */ private $mobileLayoutWidth; private $focusTrap; constructor(document: any, platform: Platform); get trapped(): any; get focusTrap(): any[]; get isMobileLayout(): boolean; get mobileLayoutObservable(): Observable<boolean>; get mobileLayoutDetectionEnabled(): boolean; get mobileLayoutWidth(): number; set mobileLayoutWidth(w: number); focus(elem: any): void; getPlatformClass(): string; generateLayoutElementHash(): string; catch(elem: ElementRef): void; getViewport(): any; getWindowScrollTop(): number; getWindowScrollLeft(): number; static ɵfac: i0.ɵɵFactoryDeclaration<LayoutControlService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<LayoutControlService>; }