philipjkim/vue2-flip-countdown
소개
A countdown timer with flip effect for Vue 2.x
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalvue2-flip-countdown
A simple flip countdown timer component for Vue 2.x

Notes on v1.0.0+
1.x.x versions are based on Webpack 5.x, whereas 0.x.x versions are based on Webpack 3.x.
If you have any trouble when upgrading to 1.x.x, please roll back version to 0.x.x.
Installation
npm i vue2-flip-countdown --save
Running Demo on Local Machine
cd demo
npm i
npm run serve
Then open http://localhost:8080 on a browser.
Usage
<template>
<div>
<flip-countdown deadline="2018-12-25 00:00:00"></flip-countdown>
</div>
</template>
<script>
import FlipCountdown from 'vue2-flip-countdown'
export default {
components: { FlipCountdown }
}
</script>
If you want to remove days section, set
showDaysprop tofalse(available since v0.10.0)If you want to remove hours/minutes/seconds section, set
showHours/showMinutes/showSecondsprop tofalse(available since v0.11.0)<flip-countdown deadline="2018-12-25 00:00:00" :showDays="false"></flip-countdown>To notify if timer has elapsed, bind a handler to
timeElapsedevent emitted by component<flip-countdown deadline="2018-12-25 00:00:00" @timeElapsed="timeElapsedHandler"></flip-countdown>
Please refer to /demo directory for examples.
If you're using Nuxt.js, use <no-ssr> to avoid server-side rendering. (You will get error if you don't use <no-ssr>)
<template>
<div>
<no-ssr>
<flip-countdown deadline="2018-12-25 00:00:00"></flip-countdown>
</no-ssr>
</div>
</template>
References
관련 프로젝트 살펴보기
불러오는 중…