Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue3-flip-countdown

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue3-flip-countdown

Countdown timer with Flip Animation for Vue 3.x

  • 0.1.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.7K
increased by5.44%
Maintainers
1
Weekly downloads
 
Created
Source

vue3-flip-countdown

Customize Countdown timer with Flip Animation for Vue 3.x

vue3-flip-countdown.netlify.app

Netlify Status

Demo

Table of contents

Installation

npm i vue3-flip-countdown --save

Global Usage

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>

Single File Component Usage

<template>
  <Countdown />
</template>

<script>
import {Countdown} from 'vue3-flip-countdown'
export default {
  name: 'App',
  components: {
    Countdown
  }
}
</script>

Emits

NameDescription
timeElapsedevent that created when the time came

Props

NameTypeDefault
deadlineISOString
YYYY-MM-DDTHH:mm:ss.sssZ
deadlineString
YYYY-MM-DD HH:mm:ss
32d,0h,0m,10s
deadlineDateDate
countdownSizeString3rem
labelSizeString1.2rem
flipAnimationBooleantrue
mainColorString'#EC685C'
secondFlipColorStringprops.mainColor
mainFlipBackgroundColorString'#222222'
secondFlipBackgroundColorString'#393939'
labelColorString'#222222'
showLabelsBooleantrue
stopBoolean
showDaysBooleantrue
showHoursBooleantrue
showMinutesBooleantrue
showSecondsBooleantrue
labelsObject{days: 'Days',hours: 'Hours',minutes: 'Minutes',seconds: 'Seconds',}

References

Requirements

  • Vue version 3.x.x

License

MIT Copyright (c) 2021, Emre Coşkunçay

Keywords

FAQs

Package last updated on 17 Dec 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc