1.1.1 • Published 1 year ago

vue-damp-fireworks v1.1.1

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

vue-damp-firework

The interesting component for Vue developers.

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 Namevue-damp-fireworks Doc & DescriptionTypedefault
boxHeightdecides the height of the componentNumber500
boxWidthdecides the width of the componentNumber500
durationdecides the duration(ms) of the animationNumber

Demo Page

Click me to watch the fireworks

1.1.1

1 year ago

1.1.0

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago