Calendar API Overview
Initialization
<script>
import { Calendar } from "@wx/svelte-core";
</script>
<!-- minimal configuration for initialization -->
<!-- a calendar will show the current date -->
<Calendar />
tip
- Visit the Features Guide to learn more about the control's functionality.
- Explore the samples to visualize the available features.
Calendar Properties
buttons | shows/hides the Today and Clear buttons in the lower part of Calendar |
current | displays the currently visible date in a calendar |
markers | highlights a specified date range in Calendar |
value | sets the value of a calendar |
Calendar Events
change | fires when a new date is selected in a calendar |