Skip to content

dampion/Vue-damp-fireworks

Repository files navigation

vue-damp-firework

The interesting component for Vue developers.

Vue dampion fireworks

Contribution Guide

Installation

# install packages
yarn add vue-damp-fireworks
or
npm install vue-damp-fireworks

Vue2

# global registered in main.js 
import VueFireworks from 'vue-damp-fireworks'
Vue.use(VueFireworks)

# Usage in .vue
<vue-damp-fireworks />
<vue-damp-fireworks :boxHeight="500" :boxWidth="500"/>
<vue-damp-fireworks :boxHeight="500" :boxWidth="500">
    <p>add any element you want</p>
</vue-damp-fireworks>

Component Props

All parameters are optional and fireworks determines the default value of each prop.

Prop Name vue-damp-fireworks Doc & Description Type default
boxHeight decides the height of the component Number 500
boxWidth decides the width of the component Number 500
duration decides the duration(ms) of the animation Number

Demo Page

Click me to watch the fireworks

Buy Me A Coffee

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published