UNPKG

@wellwind/ngx-thanos

Version:

Use [Thanos](https://www.google.com/search?q=Thanos) snap to destory your DOM elements on Angular.

16 lines (15 loc) 573 B
import { ElementRef, EventEmitter, OnChanges } from '@angular/core'; import { ThanosSnapService } from './thanos-snap.service'; export declare class ThanosSnapDirective implements OnChanges { private elementRef; private thanosSnapService; ngxThanosSnap: boolean; snapStarting: EventEmitter<void>; snapEnded: EventEmitter<void>; rewinded: EventEmitter<void>; readonly host: HTMLElement; constructor(elementRef: ElementRef, thanosSnapService: ThanosSnapService); ngOnChanges(): void; snap(): void; rewind(): void; }