time input element.
that have this behavior applied by default:
<input type="time" />– inline input input element
Upon initialization the behavior creates following DOM structure:
<caption> <span.hour> <span.minute> <span.second> <span.ampm> </caption> <button.plus> <button.minus></input>
<span.ampm> is optional – it appears only if current locale (lang) requires it.
<caption> has have
<button.minus> trigger increment/decrement of current sub-field.
that this behavior knows about:
value="HH:MM:SS"– time, initial value of the input element. Time portion of ISO 8601 format.
timezone="TZ"– timezone to show the time for. TZ can be either
"+HH:MM" / "-HH:MM".
Aside of standard set of events (mouse, keyboard, focus) behavior: button generates:
- EDIT_VALUE_CHANGED event – value of the element (time) was changed due to user actions. Posted (asynchronous) event.
Date value or undefined, reflects current status of internal editing buffer. Only time portion of the date object is relevant. The date value is always UTC.
N/A – this input element has no specific methods but <caption> sub-element has
behavior:masked specific methods.