Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular 17 - Particles Do Not Render #96

Open
vbpradoo opened this issue Mar 24, 2024 · 1 comment
Open

Angular 17 - Particles Do Not Render #96

vbpradoo opened this issue Mar 24, 2024 · 1 comment

Comments

@vbpradoo
Copy link

vbpradoo commented Mar 24, 2024

Details

Description:

I'm encountering an issue with particle rendering in an Angular 17 environment. Despite having no compilation errors, the particles are not being rendered on the screen. The only visible item is the background. This behavior persists even after thorough checks of the code and environment.

Steps to Reproduce:

Set up an Angular 17 project environment.
Integrate particle rendering functionality.
Run the application.
Observe that particles are not rendered, only the background is displayed.
Expected Behavior:
Particles should render as expected alongside the background in the Angular 17 environment.

Environment:

Angular CLI: 17.0.10
Node: 18.17.1
Package Manager: npm 9.6.7
OS: win32 x64

Angular: 17.3.0
... animations, cdk, common, compiler, compiler-cli, core, forms
... material, platform-browser, platform-browser-dynamic, router

Package Version

@angular-devkit/architect 0.1703.0
@angular-devkit/build-angular 17.3.0
@angular-devkit/core 17.3.0
@angular-devkit/schematics 17.0.10
@angular/cli 17.0.10
@schematics/angular 17.0.10
ng-packagr 17.3.0
rxjs 7.6.0
typescript 5.2.2
zone.js 0.14.4
Operating System: Windows
Particle rendering library/version: @tsparticles/angular
Additional Information:
These are the libraries and versions used:
"@tsparticles/angular": "^3.0.0",
"@tsparticles/engine": "^3.3.0",
I have created a stackblitz project that reproduces the error: StackBlitz Recreation

By the way I have tried to use the code that appears in the repository but there are 2 enums that are not packed within @tsparticles/engine. These enums are ClickMode and HoverMode.

Any assistance in resolving this issue would be greatly appreciated. Thank you!

@vbpradoo vbpradoo added the sweep Assigns Sweep to an issue or pull request. label Mar 24, 2024
@tsparticles tsparticles deleted a comment from sweep-ai bot Mar 24, 2024
@matteobruni matteobruni removed the sweep Assigns Sweep to an issue or pull request. label Mar 24, 2024
@matteobruni matteobruni changed the title Sweep (fast): Angular 17 - Particles Do Not Render Angular 17 - Particles Do Not Render Mar 24, 2024
@matteobruni
Copy link
Contributor

matteobruni commented Mar 24, 2024

Please check the README file twice. You're code is missing the ngParticlesService.init call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants