mz-particles
Version:
TypeScript library for creating particle effects on canvas.
6 lines (3 loc) • 429 B
Markdown
- **$placeholder: HTMLElement** - The HTML element that will contain the particle system. The particle system will be generated and rendered within this element, and it will take the placeholder width and height.
- **canvasColor?: string** - The background color of the canvas. This should be specified as a string in CSS format (e.g. "#FFFFFF" for white, "#000000" for black). If this property is optional.