- Fixed the time convert browser compatibility issue #12
- Fixed reenter the active window current time is not recalculated.
- Fixed event ended-callback triggered on vue mounted.
- Changed the hiding logic of 00s, only hide if all previous units are hidden.
- Changed the modification of the prop value, to avoid props changes in methods.
- Added the ability to auto hide when each unit's time reaches zero
- Added the ability to complete hide certain units
- Fixed timestamp input for start time and end time not working
- Day won't be hidden even day is 00
- Changed the props value injected for slot
countdown
- Added custom template usage document
- Added timestamp conversion, if timestamp is less than 14digits, will automatically add 000 to the end.
- Removed console.logs
- Added demo link to documents
- Complete rewrite of the foundation code
start-time
andend-time
supports timestamp format and string timestamp- Added millisecond timers, use with
interval
props - Added
interval
props for millisecond timer feature, default1000
ms - Removed
current-time
props, default gets current real timenew Date()
- Changed
tip-text
tostart-label
andtip-text-end
toend-label
. start-label
andend-label
has default value of empty, optional props, will not display if not passed.- Added
label-position
, count down label can be set atbegin
or atend
- Changed package name and js file name to vuejs-countdown-timer
- Fixed ES6 import failed, due to incorrect package.json's main file config
- Added Chinese readme document
- Fix export wrong component name
- Fixed props failed to receive
- Fixed template missing text
- Add custom template feature