2.10.8 • Published 5 months ago
@fireworks-js/svelte v2.10.8
@fireworks-js/svelte
Installation
npm install @fireworks-js/svelte
Usage
fireworks-js
<script lang="ts">
import { Fireworks } from '@fireworks-js/svelte'
import type { FireworksOptions } from '@fireworks-js/svelte'
let fw: Fireworks
let options: FireworksOptions = {
opacity: 0.5
}
function toggleFireworks() {
const fireworks = fw.fireworksInstance()
if (fireworks.isRunning) {
fireworks.waitStop()
} else {
fireworks.start()
}
}
</script>
<Fireworks bind:this={fw} autostart={false} {options} class="fireworks" />
2.10.8
5 months ago
2.10.7
1 year ago
2.10.6
2 years ago
2.10.5
2 years ago
2.10.3
2 years ago
2.10.4
2 years ago
2.10.2
2 years ago
2.10.1
2 years ago
2.10.0
2 years ago
2.7.0
2 years ago
2.6.0
2 years ago
2.9.0
2 years ago
2.8.0
2 years ago
2.3.0
2 years ago
2.2.1
2 years ago
2.2.0
2 years ago
2.5.0
2 years ago
2.3.2
2 years ago
2.4.0
2 years ago
2.3.1
2 years ago
2.5.1
2 years ago
2.1.0
2 years ago
2.0.3
2 years ago
2.0.2
2 years ago
2.0.1
2 years ago
2.0.0
2 years ago
0.0.0-beta.8
2 years ago
0.0.0-beta.7
2 years ago
0.0.0-beta.6
2 years ago
0.0.0-beta.5
2 years ago
0.0.0-beta.4
2 years ago
0.0.0-beta.3
2 years ago
0.0.0-beta.2
2 years ago
0.0.0-beta.1
2 years ago
0.0.0-beta.0
2 years ago