
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
vue3-flip-countdown
Advanced tools
Customize Countdown timer with Flip Animation for Vue 3.x
npm i vue3-flip-countdown --save
main.js
import { createApp } from 'vue'
import App from './App.vue'
import Countdown from 'vue3-flip-countdown'
createApp(App).use(Countdown).mount('#app')
App.vue
<template>
<vue3-flip-countdown />
</template>
<script>
export default {
name: 'App',
components: {
}
}
</script>
<template>
<Countdown />
</template>
<script>
import {Countdown} from 'vue3-flip-countdown'
export default {
name: 'App',
components: {
Countdown
}
}
</script>
Name | Description |
---|---|
timeElapsed | event that created when the time came |
Name | Type | Default |
---|---|---|
deadlineISO | String YYYY-MM-DDTHH:mm:ss.sssZ | |
deadline | String YYYY-MM-DD HH:mm:ss | 32d,0h,0m,10s |
deadlineDate | Date | |
countdownSize | String | 3rem |
labelSize | String | 1.2rem |
flipAnimation | Boolean | true |
mainColor | String | '#EC685C' |
secondFlipColor | String | props.mainColor |
mainFlipBackgroundColor | String | '#222222' |
secondFlipBackgroundColor | String | '#393939' |
labelColor | String | '#222222' |
showLabels | Boolean | true |
stop | Boolean | |
showDays | Boolean | true |
showHours | Boolean | true |
showMinutes | Boolean | true |
showSeconds | Boolean | true |
labels | Object | {days: 'Days',hours: 'Hours',minutes: 'Minutes',seconds: 'Seconds',} |
MIT Copyright (c) 2021, Emre Coşkunçay
FAQs
Countdown timer with Flip Animation for Vue 3.x
The npm package vue3-flip-countdown receives a total of 2,207 weekly downloads. As such, vue3-flip-countdown popularity was classified as popular.
We found that vue3-flip-countdown 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.