/ui/locations/entries/time
The module exports the default time entry method.
Methods
(inner) time(entry) → {HTMLElement}
The entry method returns a formated numeric value. 10.43 > "10:43".
If editable an input type:time will be returned. The onchange event method of the input will parse a float value from the time string and dispatch the valChange event on the location view.
Parameters:
PropertiesName | Type | Description |
---|---|---|
entry | infoj-entry | type:geometry entry. |
Name | Type | Attributes | Description |
---|---|---|---|
entry.value | Object | A numeric time value. | |
entry.edit | Object | <optional> | configuration object for editing the value. |
Returns:
elements for the location view.
- Type:
- HTMLElement