UNPKG

ngx-particlesjs

Version:

[![npm](https://img.shields.io/npm/v/ngx-particlesjs.svg)](https://www.npmjs.com/package/ngx-particlesjs) [![npm](https://img.shields.io/npm/dm/ngx-particlesjs.svg)](https://www.npmjs.com/package/ngx-particlesjs) [![TypeScript](https://img.shields.io/badg

25 lines (24 loc) 705 B
import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core'; import { ParticleArgs } from './common'; export declare class NgxParticlesComponent implements AfterViewInit, OnDestroy { stageRef: ElementRef; private canvas; private ctx; private width; private height; private particles; private mainAnimationFrame; private changeAnimationFrame; private resizing; total: number; default_width: number; default_height: number; args?: ParticleArgs; ngAfterViewInit(): void; ngOnDestroy(): void; onResize(): void; private initStage; private initParticle; private stageChange; private drawContext; }