Wrapper: @tsparticles/angular
Contenedor angular oficial (<ngx-particles />) para tsParticles.
Instalar
bash
pnpm add @tsparticles/angular @tsparticles/engine @tsparticles/slimFlujo de configuración rápida
- Registre
NgParticlesServiceuna vez al iniciar la aplicación. - Cargue funciones con
loadSlim(engine). - Renderice
<ngx-particles [id] [options] />en plantillas.
Referencias de Monorepo
- Carpeta del paquete: https://github.com/tsparticles/tsparticles/tree/main/wrappers/angular
- Aplicación de demostración: https://github.com/tsparticles/tsparticles/tree/main/demo/angular
README
- README del wrapper: https://github.com/tsparticles/tsparticles/tree/main/wrappers/angular#readme
