@skyux/core
Version:
This library was generated with [Nx](https://nx.dev).
18 lines (17 loc) • 663 B
TypeScript
import { ElementRef, OnDestroy } from '@angular/core';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
/**
* Service to create rxjs observables for changes to the content box dimensions of elements.
*/
export declare class SkyResizeObserverService implements OnDestroy {
#private;
constructor();
ngOnDestroy(): void;
/**
* Create rxjs observable to get size changes for an element ref.
*/
observe(element: ElementRef): Observable<ResizeObserverEntry>;
static ɵfac: i0.ɵɵFactoryDeclaration<SkyResizeObserverService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<SkyResizeObserverService>;
}