tsparticles / angular

Angular tsParticles official component
MIT License
33 stars 6 forks source link

v3.0.0 #69

Closed matteobruni closed 9 months ago

Carter-Brinton commented 9 months ago

@matteobruni What can I do to help?

matteobruni commented 9 months ago

@matteobruni What can I do to help?

The init management needs to be moved away from the component like in the new React v3 package here: https://github.com/tsparticles/react#typescript-support---object

A function that is called once per application where you load the plugins needed, instead of having it in the component, that could be called multiple times.

Also a solution for supporting older Angular versions would be awesome, I still haven't found a good solution for supporting previous Angular versions, I'd like to keep it as much compatible as possible. This is a known issue in v2.