Releases: nhn/tui.time-picker
Releases · nhn/tui.time-picker
v2.0.0
v1.5.2
v1.5.1
Feature
- Apply to new design of documents.
v1.5.0
Changed
- Update tui.code-snippet to v1.5.0
v1.4.0
ADD
-
The
format
option- Can change the time display format to
hh:mm
orh:m
.
var tpSelectbox = new tui.TimePicker('#timepicker-selectbox', { format: 'hh:mm', // default 'h:m' ... });
- Can change the time display format to
-
The
disabledHours
option- If you put the time in the disabledHours array, it will be displayed as disabled on the screen.
var tpSelectbox = new tui.TimePicker('#timepicker-selectbox', { disabledHours: [1, 2, 14], ... });
v1.3.0
Add
- The
usageStatistics
option- send hostname to google analytics [default value is true]
v1.2.0
Add
- The
meridiemPosition
option set position of AM/PM element and this element is created in front of the hour element when the value is set toleft
- Internationalization (i18n) (ref.)
language
option : Set default texts on time picker when creating instancelocaleTexts
property : This is static value and set texts by matching language keychangeLanguage(language)
API : Change current setting language
v1.1.1
Fix
- Fixed that the time is not changed when the minute set
0
and calledgetHour
API
v1.1.0
Add
- Set
step
of hours or minutes- Options :
hourStep
,minuteStep
- API :
setHourStep(value)
,getHourStep()
,setMinuteStep(value)
,setMinuteStep()
- Options :
v1.0.0
New Release
This component is separated from TUI DatePicker
component.