Skip to main content

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

buttonsshows/hides the Today and Clear buttons in the lower part of RangeCalendar
currentopens RangeCalendar at the specified date
doneshows/hides the Done button
endsets the end date of a range in RangeCalendar
markershighlights a specified date range in RangeCalendar
monthssets the number of calendars in RangeCalendar
startsets the start date of a range in RangeCalendar

RangeCalendar Events

changefires when a new date or a date range is selected in a RangeCalendar