vue2-timepicker
Advanced tools
Changelog
v 1.1.6
append-to-body
:
) or space (
) key.blur
and close
events as per the change
event.Changelog
v 1.1.5
drop-direction
property. It accepts three string values: "up"
, "auto"
and "down"
(default).container-id
and drop-offset-height
as helpers for the "auto" drop direction. Please check the documentation for more info.Changelog
v 1.1.4
clearButton
and dropdownButton
v-slot (Thanks to @jost-s).icon
v-slot for displaying an extra input icon.fixed-dropdown-button
property, to make the dropdown button always visible.Changelog
v 1.1.3
hide-dropdown
feature -- When the dropdown is hidden by default, users can choose to open the dropdown by clicking the triangle button "▾" (Thanks to @jost-s).focus
and blur
event.Changelog
v 1.1.2
More powerful format
string parameter. E.g., you can hide the "hour" column by setting format="mm:ss"
, or make AM/PM the first column by format="A hh:ss"
, no extra CSS hacking needed. Please check the Demo page for more examples.
shift+tab
to navigate to the previous token slot in the Manual Input mode (Thanks to @jost-s).Changelog
v 1.1.1
Instant feedback after manual input. Plus, add a new manual-input-timeout
property to help set up the timeout for continuous input (Thanks to @jost-s).
We've upgraded to use vue-cli v4 in this version. Please check the CONTRIBUTING.md for more info.
Changelog
v 1.1.0
manual-input
toggle.hide-dropdown
in Manual Input (manual-input
) mode.is-empty
, invalid
and all-selected
to the <input>
element.<input>
border to red color when user input is invalid. E.g., when it contains a disabled hour value. You can mute this auto-styling by adding "skip-error-style"
to input-class
.autocomplete
attribute.error
event when the input value becomes invalid.focus
and blur
events to help to identify the focus/blur state. Useful when the dropdown is force hidden by hide-dropdown
.Enable seamless loop from the start or end of a column in advanced-keyboard
mode.