You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/props/modes-configuration/index.md
+2-124Lines changed: 2 additions & 124 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -281,130 +281,6 @@ When using disabled dates with `minRange` or `mixRange`, disabled dates are not
281
281
```
282
282
:::
283
283
284
-
[//]: #(## preset-dates)
285
-
286
-
[//]: #()
287
-
[//]: #(When configured, it will provide a sidebar with configured range/date that user can select)
288
-
289
-
[//]: #()
290
-
[//]: #(::: tip Info)
291
-
292
-
[//]: #(- If the `timezone` prop is provided, values from preset dates will be converted to the provided timezone. If you don't want that, pass `noTz: true` to all presets)
293
-
294
-
[//]: #(- `testId` (if provided) will add `data-test` attribute on the preset button)
295
-
296
-
[//]: #(:::)
297
-
298
-
[//]: #()
299
-
[//]: #(- Type: `PresetDate[]`)
300
-
301
-
[//]: #(- Default: `[]`)
302
-
303
-
[//]: #()
304
-
[//]: #(```ts)
305
-
306
-
[//]: #(import type { MaybeRefOrGetter } from "vue";)
307
-
308
-
[//]: #()
309
-
[//]: #(interface PresetDate {)
310
-
311
-
[//]: #( label: string;)
312
-
313
-
[//]: #( value: MaybeRefOrGetter<Date[] | string[] | Date | string>;)
314
-
315
-
[//]: #( style?: Record<string, string>;)
316
-
317
-
[//]: #( slot?: string;)
318
-
319
-
[//]: #( noTz?: boolean;)
320
-
321
-
[//]: #( testId?: string;)
322
-
323
-
[//]: #(})
324
-
325
-
[//]: #(```)
326
-
327
-
[//]: #()
328
-
[//]: #(<PresetRange></PresetRange>)
329
-
330
-
[//]: #()
331
-
[//]: #(::: details Code Example)
332
-
333
-
[//]: #(```vue)
334
-
335
-
[//]: #(<template>)
336
-
337
-
[//]: #( <VueDatePicker v-model="date" range :preset-dates="presetDates">)
0 commit comments