Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GlobalOptions

Index

Properties

Optional disableForReducedMotion

disableForReducedMotion?: boolean

Disables confetti entirely for users that prefer reduced motion. When set to true, use of this confetti instance will always respect a user's request for reduced motion and disable confetti for them.

Optional resize

resize?: boolean

Whether to allow setting the canvas image size, as well as keep it correctly sized if the window changes size

default

false

Optional useWorker

useWorker?: boolean

Whether to use an asynchronous web worker to render the confetti animation, whenever possible

default

false

Generated using TypeDoc