Integration with JSON
Generally, the data which is received from the server is serialized in a JSON format.
To bind the Calendar to dates which are serialized as strings, handle the parsing process:
Dateobjects by using the
IntlServiceor any other suitable
- Define the
valueproperty of the component.
- Wire the
changeevent of the Calendar to get the selected
The following example demonstrates how to set the value of the Calendar.