ngx-sparklefall
Version:
Angular directive and component for SparkleFall - Beautiful falling sparkle animations
30 lines • 1.03 kB
TypeScript
import { ElementRef, OnInit, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
export declare class SparkleFallDirective implements OnInit, OnDestroy, OnChanges {
private elementRef;
sparkleFallEnabled: boolean;
sparkleFallInterval: number;
sparkleFallDuration: number;
sparkleFallSparkles: string[];
sparkleFallColors: string[] | null;
sparkleFallMinSize: number;
sparkleFallMaxSize: number;
sparkleFallMinDuration: number;
sparkleFallMaxDuration: number;
sparkleFallWind: number;
sparkleFallSpin: boolean;
sparkleFallMaxSparkles: number;
sparkleFallAutoStart: boolean;
sparkleFallZIndex: number;
private sparkleInstance;
constructor(elementRef: ElementRef);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
private initializeSparkles;
private destroySparkles;
start(): void;
stop(): void;
clear(): void;
burst(count?: number): void;
}
//# sourceMappingURL=sparklefall.directive.d.ts.map