Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
vue-confetti
Advanced tools
:tada: A Vue component for dropping confetti :tada:
npm install vue-confetti --save
<template>
<main>
<button @click="start">Start</button>
<button @click="stop">Stop</button>
</main>
</template>
<script>
import Vue from 'vue'
import VueConfetti from 'vue-confetti'
Vue.use(VueConfetti)
export default {
methods: {
start () {
this.$confetti.start()
},
stop () {
this.$confetti.stop()
}
}
}
</script>
The following options can be passed to $confetti.start()
:
Property | Type | Description | Default |
---|---|---|---|
colors | Array | The confetti colors. | ['DodgerBlue', 'OliveDrab', 'Gold', 'pink', 'SlateBlue', 'lightblue', 'Violet', 'PaleGreen', 'SteelBlue', 'SandyBrown', 'Chocolate', 'Crimson'] |
shape | String | The shape of the confetti ('circle' , 'rect' , or 'heart' ). | 'circle' |
$confetti.start({
shape: 'heart',
colors: ['red', 'pink', '#ba0000']
})
FAQs
A Vue component for dropping confetti.
The npm package vue-confetti receives a total of 13,207 weekly downloads. As such, vue-confetti popularity was classified as popular.
We found that vue-confetti demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.