1.0.5 • Published 6 years ago
rc-timer-org v1.0.5
RcTimerOrg
Vue.js Component.
And of course RcTimerOrg itself is open source with a public repository on GitHub.
Installation
$ npm i rc-timer-orgUsage
<template>
<div>
<rc-timer-org expire="2020-05-02 23:59:59"/>
</div>
</template>
<script>
import { RcTimerOrg } from 'rc-timer-org'
export default {
name: 'NAME',
components: { RcTimerOrg },
...
}
</script>Props
expire - expire datetime, format: 2020-05-02 23:59:59 noTitles - hide hint text, default: false noZero - hide zero text, default: false, example: 5:10:5
Example
noTitle
<rc-timer-org expire="2020-05-10 23:59:59" noTitle/>noZero
<rc-timer-org expire="2020-05-10 23:59:59" noZero/>License
MIT