ngx-sparklefall
Version:
Angular directive and component for SparkleFall - Beautiful falling sparkle animations
28 lines • 779 B
TypeScript
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
export declare class SparkleFallComponent implements OnInit, OnDestroy {
private host;
sparkles: string[];
colors: string[] | null;
interval: number;
minSize: number;
maxSize: number;
minDuration: number;
maxDuration: number;
wind: number;
spin: boolean;
maxSparkles: number;
autoStart: boolean;
zIndex: number;
paused: boolean;
sparkleStart: EventEmitter<void>;
sparkleStop: EventEmitter<void>;
private instance;
constructor(host: ElementRef<HTMLElement>);
ngOnInit(): void;
ngOnDestroy(): void;
start(): void;
stop(): void;
clear(): void;
burst(count: number): void;
}
//# sourceMappingURL=index.d.ts.map