File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ Try it in the [Svelte REPL](https://svelte.dev/repl/cae0ce6e92634878b6e1a587146d
6161| Prop | Description | Default |
6262| :---------------- | :------------------------------------------------------------------------------------ | :-------------------------- |
6363| startDate | The start date string or date object. | ` object ` (default: ` null ` )
64+ | endDate | The end date string or date object. | ` object ` (default: ` null ` )
6465| startDateTime | The start date time string in 24 hour format. | ` string ` (default: ` 00:00 ` )
6566| endDateTime | The end date time string in 24 hour format. | ` string ` (default: ` 00:00 ` )
6667| defaultYear | The year you want to show as the default. | ` number ` (default: ` 2023 ` )
Original file line number Diff line number Diff line change 4646 <td >The start date <code >string</code > or <code >date</code > object.</td >
4747 <td ><code >null</code ></td >
4848 </tr >
49+ <tr >
50+ <td >endDate</td >
51+ <td ><code >object</code ></td >
52+ <td >The end date <code >string</code > or <code >date</code > object.</td >
53+ <td ><code >null</code ></td >
54+ </tr >
4955 <tr >
5056 <td >startDateTime</td >
5157 <td ><code >string</code ></td >
Original file line number Diff line number Diff line change 100100</script>
101101
102102<div class="date-filter">
103- <DatePicker bind:isOpen bind:startDate isRange${isMultipane ? ' isMultipane' : ' ' }${showPresets ? ' showPresets' : ' ' }>
103+ <DatePicker bind:isOpen bind:startDate bind:endDate isRange${isMultipane ? ' isMultipane' : ' ' }${showPresets ? ' showPresets' : ' ' }>
104104 <div class="date-field" on:click={toggleDatePicker} class:open={isOpen}>
105105 <i class="icon-calendar" />
106106 <div class="date">
You can’t perform that action at this time.
0 commit comments