Date input element behavior.
Example:
<input type="date" name="date1" value="2004-01-24" />
Date element is sensitive to current user' locale settings, e.g. it will use localized names of months and week days and month/day/year order in the editing portion of the element.
that have this behavior applied by default (see master style sheet):
<input type=“date” /> - inline single line <widget type=“date”></widget> that this behavior knows about:
value=“YYYY-MM-DD” - initial value (date) of the input element.Together with the standard set of events (mouse, keyboard, focus) behavior: date generates:
type json::value::V_STRING, reflects current status of internal editing buffer of masked editor - editor portion of the element.
After initialization (event: attached) of the behavior it creates following DOM structure:
input - element this behavior attached to,caption - editing portion of the element, has behavior:masked attached,button - button causing popup to appear,popup - popup element with behavior:calendar attached.