8000 Unable to display particles · Issue #71 · tsparticles/svelte · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Unable to display particles #71
Open
@rushkii

Description

@rushkii

I'm using Side Confetti presets which is provided in https://particles.js.org/ itself, but it's unable to display the particles, why? the options gave me the type error :/

err:

Type '{ autoPlay: boolean; background: { color: { value: string; }; image: string; position: string; repeat: string; size: string; opacity: number; }; backgroundMask: { composite: string; cover: { color: { value: string; }; opacity: number; }; enable: boolean; }; ... 18 more ...; motion: { ...; }; }' is not assignable to type 'RecursivePartial<IOptions>'.
  The types of 'backgroundMask.composite' are incompatible between these types.
    Type 'string' is not assignable to type 'GlobalCompositeOperation | undefined'.ts(2322)

particles.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0