dev #4

Merged
Astrian merged 4 commits from dev into main 2025-02-26 00:35:56 +00:00
3 changed files with 17 additions and 3 deletions
Showing only changes of commit 39ca9ddd14 - Show all commits

View File

@ -44,7 +44,7 @@ const date = ref(new Date())
``` ```
For more information and live demo, refer to [Datenels documentation](https://datenel.js.org/guide/vue/gettingstart.html). For more information and live demo, refer to [Datenels documentation](https://datenel.js.org/guide/vue3/gettingstart.html).
## Supported Components & Props ## Supported Components & Props

View File

@ -110,7 +110,7 @@ const props = defineProps({
* that the close button is not visible, but can be read by screen reader. The close * that the close button is not visible, but can be read by screen reader. The close
* button for the screen reader is only available when this prop is not `undefined`. * button for the screen reader is only available when this prop is not `undefined`.
* *
* @see {@link https://datenel.js.org/guide/vue3/components/SingleDatePicker.html#onclose-void} * @see {@link https://datenel.js.org/guide/vue3/components/SingleDatePicker.html#close-void}
* *
* @default undefined * @default undefined
*/ */

View File

@ -81,12 +81,26 @@ const props = defineProps({
* *
* @description The model value of the component. * @description The model value of the component.
* *
* @see {@link https://datenel.js.org/guide/vue3/components/SingleWeekPicker.html#modelvalue} * @see {@link https://datenel.js.org/guide/vue3/components/SingleWeekPicker.html#modelvalue-a-k-a-v-model}
*/ */
modelValue: { modelValue: {
type: Object as () => SingleWeekPickerModelValue, type: Object as () => SingleWeekPickerModelValue,
required: false, required: false,
}, },
/**
* Event handler when the panel is closed.
* @description User requires to close the panel without select a specific date. Note
* that the close button is not visible, but can be read by screen reader. The close
* button for the screen reader is only available when this prop is not `undefined`.
*
* @see {@link https://datenel.js.org/guide/vue3/components/SingleWeekPicker.html#close-void}
*
* @default undefined
*/
close: {
type: Function,
required: false,
}
}) })
const { colorScheme, localization } = toRefs(props) const { colorScheme, localization } = toRefs(props)