Skip to content

ng-particles polygon mask bubble.speed and polygon.type not defined #1982

Closed Locked Answered by matteobruni
francoismg asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @francoismg,

I made a CodeSandbox sample here: https://codesandbox.io/s/youthful-bardeen-cncxr?file=/src/app/app.component.ts

About this

type: "inline" as PolygonMaskType.inline

it's preferred to write like this:

type: PolygonMaskType.inline

And bubble.speed is non-existing, also particles.js don't use it, if you see that in other configurations you can safely remove since the bubble hover/click interaction is not using it.

Let me know if the sample works

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@francoismg
Comment options

@matteobruni
Comment options

@francoismg
Comment options

Answer selected by francoismg
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