vuejs-countdown-timer
Advanced tools
Comparing version 1.0.4 to 1.0.5
# Changelog | ||
## 1.0.5 (Aus 31, 2018) | ||
- Changed `tip-text` to `start-label` and `tip-text-end` to `end-label` . | ||
- `start-label` and `end-label` has default value of empty, optional props, will not display if not passed. | ||
- Added `label-position`, count down label can be set at `begin` or at `end` | ||
## 1.0.4 (Aus 31, 2018) | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "vuejs-countdown-timer", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Vue 2 countdown and timer component", | ||
@@ -5,0 +5,0 @@ "main": "/dist/vuejs-countdown-timer.min.js", |
@@ -46,16 +46,7 @@ # Vue-countdown-timer Component | ||
// defalut install | ||
Vue.use(VuePhotoswipe) | ||
// or for a single instance | ||
import VueCountdownTimer from 'vuejs-countdown-timer' | ||
components: { | ||
VueCountdownTimer | ||
}, | ||
methods: { | ||
countDownS_cb: function (x) { | ||
startCallBack: function (x) { | ||
console.log(x) | ||
}, | ||
countDownE_cb: function (x) { | ||
endCallBack: function (x) { | ||
console.log(x) | ||
@@ -75,5 +66,6 @@ } | ||
:end-time="1481450115" | ||
:tip-text="'Until start'" | ||
:tip-text-end="'Until end'" | ||
:end-text="'Event ended'" | ||
:start-label="'Until start:'" | ||
:end-label="'Until end:'" | ||
label-position="begin" | ||
:end-text="'Event ended!'" | ||
:day-txt="'days'" | ||
@@ -101,11 +93,16 @@ :hour-txt="'hours'" | ||
**tip-text** | ||
**start-label** | ||
- `type`: String | ||
- `required` : false | ||
- `default` : 'čˇįĻģåŧå§' | ||
- `default` : '' | ||
**tip-text-end** | ||
**end-label** | ||
- `type`: String | ||
- `required` : false | ||
- `default` : 'čˇįĻģįģæ' | ||
- `default` : '' | ||
**label-position** - begin (before countdown) / end (after countdown) | ||
- `type`: String | ||
- `required` : false | ||
- `default` : 'begin' | ||
@@ -115,3 +112,3 @@ **end-text** | ||
- `required` : false | ||
- `default` : 'åˇ˛įģæ' | ||
- `default` : 'Event ended!' | ||
@@ -118,0 +115,0 @@ **day-txt** |
15184
5
144