@ux-aspects/ux-aspects
Version:
Open source user interface framework for building modern, responsive, mobile big data applications
19 lines (18 loc) • 897 B
TypeScript
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
import { ResizeDimensions } from './resize.service';
import * as i0 from "@angular/core";
export declare class ResizeDirective implements OnInit, OnDestroy {
private readonly _elementRef;
private readonly _resizeService;
private readonly _ngZone;
/** Debounce the resize event emitter */
throttle: number;
/** Emits whenever a resize event occurs */
uxResize: EventEmitter<ResizeDimensions>;
/** Remove all subscriptions on component destroy */
private readonly _onDestroy;
ngOnInit(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ResizeDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizeDirective, "[uxResize]", never, { "throttle": { "alias": "throttle"; "required": false; }; }, { "uxResize": "uxResize"; }, never, never, false, never>;
}