ngx-autohide
Version:
This library is used to automatically hide an Angular Component.
19 lines (18 loc) • 772 B
TypeScript
import { AnimationBuilder } from '@angular/animations';
import { ElementRef, OnInit } from '@angular/core';
import * as i0 from "@angular/core";
export declare class NgxAutohideDirective implements OnInit {
private el;
private builder;
timings: number;
constructor(el: ElementRef, builder: AnimationBuilder);
ngOnInit(): void;
/**
* This is the fadeOut function that set the fade out effect for the AnimationBuilder
* @returns returns an AnimationMetadata array
*/
private fadeOut;
static ɵfac: i0.ɵɵFactoryDeclaration<NgxAutohideDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxAutohideDirective, "[ngxAutohide]", never, { "timings": "timings"; }, {}, never>;
}
export declare const DEFAULT_TIME: number;