RangeCalendar API Overview
Initialization
<script>
import { RangeCalendar } from "wx-svelte-core";
</script>
<!-- minimal configuration for initialization -->
<!-- calendars will display the current and the next months -->
<RangeCalendar />
tip
- Visit the Features Guide to learn more about the control's functionality.
- Explore the samples to visualize the available features.
RangeCalendar Properties
buttons | shows/hides the Today and Clear buttons in the lower part of RangeCalendar |
current | opens RangeCalendar at the specified date |
done | shows/hides the Done button |
end | sets the end date of a range in RangeCalendar |
markers | highlights a specified date range in RangeCalendar |
months | sets the number of calendars in RangeCalendar |
start | sets the start date of a range in RangeCalendar |
RangeCalendar Events
change | fires when a new date or a date range is selected in a RangeCalendar |