svelte-confetti-p5
Advanced tools
Comparing version 0.1.2 to 0.2.0
@@ -14,3 +14,3 @@ import { SvelteComponentTyped } from "svelte"; | ||
frameRate?: number | undefined; | ||
shapes?: "squares" | "circles" | "mix" | undefined; | ||
shapes?: "squares" | "circles" | "images" | "mix" | undefined; | ||
position?: "fixed" | "absolute" | undefined; | ||
@@ -23,2 +23,3 @@ zIndex?: number | undefined; | ||
colors?: string[] | undefined; | ||
images: string[]; | ||
}; | ||
@@ -25,0 +26,0 @@ events: { |
{ | ||
"name": "svelte-confetti-p5", | ||
"description": "An awesome svelte realistic fullpage confetti animation, that can be customized in creative ways like snow flakes, falling balls and more.", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"author": "Elron Bucai", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -58,3 +58,4 @@ [![Netlify Status](https://api.netlify.com/api/v1/badges/12a4d8fb-c15c-4766-8d1d-7d0d00217505/deploy-status)](https://app.netlify.com/sites/svelte-confetti-p5/deploys) | ||
| power | `number` | The force of the confetti when it starts | 10 | ||
| shapes | `"squares" \| "circles" \| "mix"` | Particle shapes | "mix" | ||
| shapes | `"squares" \| "circles" \| "mix" \| "images"` | Particle shapes. (mix = circles&squares.images = only images) | "mix" | ||
| images | `string[]` | Image URLS / Base64 Images | [] | ||
| wind| `number`| Wind from sides | 6 | ||
@@ -61,0 +62,0 @@ | weight| `number` | Weight of the particle (this determines the falling speed) | 100 |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15065
42
151