The element paper-time-picker-edit-dialog expects as input a property time of type String. As output it generates an event with a parameter time of type Object.
For an editor, the Input and output format should be the same to simplify the life of the consumer. This leads to these options:
Both Date (which would be my preferred option in the given context as this moves the whole complexity to the edit-dialog instead of the consumer of the dialog)
The element
paper-time-picker-edit-dialog
expects as input a propertytime
of typeString
. As output it generates an event with a parametertime
of typeObject
.For an editor, the Input and output format should be the same to simplify the life of the consumer. This leads to these options:
Date
(which would be my preferred option in the given context as this moves the whole complexity to the edit-dialog instead of the consumer of the dialog)Object
String