Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
vuejs-countdown-timer
Advanced tools
一 Vue 2 countdown and timer component
npm i vuejs-countdown-timer -S
Supported Package | Version |
---|---|
Vue | 2.5+ |
Javascript
// global register
import VueCountdownTimer from 'vuejs-countdown-timer'
Vue.use(VueCountdownTimer)
methods: {
startCallBack: function (x) {
console.log(x)
},
endCallBack: function (x) {
console.log(x)
}
}
Vue template
<vue-countdown-timer
@start_callback="startCallBack('event started')"
@end_callback="endCallBack('event ended')"
:start-time="'2018-10-10 00:00:00'"
:end-time="1481450115"
:interval="1000"
:start-label="'Until start:'"
:end-label="'Until end:'"
label-position="begin"
:end-text="'Event ended!'"
:day-txt="'days'"
:hour-txt="'hours'"
:minutes-txt="'minutes'"
:seconds-txt="'seconds'">
</vue-countdown-timer>
start-time
type
: Number|Stringrequired
: trueend-time
type
: Number|Stringrequired
: trueinterval
type
: Numberrequired
: falsedefault
: 1000start-label
type
: Stringrequired
: falsedefault
: ''end-label
type
: Stringrequired
: falsedefault
: ''label-position - begin (before countdown) / end (after countdown)
type
: Stringrequired
: falsedefault
: 'begin'end-text
type
: Stringrequired
: falsedefault
: 'Event ended!'day-txt
type
: Stringrequired
: falsedefault
: ':'hour-txt
type
: Stringrequired
: falsedefault
: ':'seconds-txt
type
: Stringrequired
: falsedefault
: ':'seconds-fixed
type
: Stringrequired
: falsedefault
: ':'start_callback - Event started callback
type
: Functionrequired
: falseend_callback - Event ended callback
type
: Functionrequired
: falseMIT License
Copyright (c) 2018 TriDiamond
2.0.2 (Sep 10, 2018)
FAQs
Vue 2 countdown and timer component
We found that vuejs-countdown-timer 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.