Skip to content

Adding own custom links. #2410

Closed Locked Answered by matteobruni
Hooman-studio asked this question in Q&A
Discussion options

You must be logged in to vote

I discussed a similar feature on Slack, for having custom links. This will be possible in v2 (#2297) since it will be more pluggable than now. Links in v1 are an internal plugin and I don't know how to replace them easily.

This will be the new links plugin/interaction: https://github.com/matteobruni/tsparticles/tree/dev/interactions/particles/links but the new structure is not ready to be released yet. Since it will be an external plugin, it could be not loaded and replaced by another custom made.

Changing only some particles properties in runtime could lead to unexpected behaviors so I think the better solution is to write custom plugins which are called with the right timing and you can…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Hooman-studio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants