Date Picker

A calendar where you can input dates.

Example

29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
Wed Oct 16 2024 19:43:07 GMT+0900 (日本標準時)
vue
<template>
 <DatePicker
  v-model="date"
  mode="date"
 />
 <div>{{ date }}</div>
</template>

<script setup lang="ts">
const date = ref(new Date());
</script>

Integration

29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
{
 "date": "2024-10-16T10:43:07.135Z"
}
  
vue
<template>
 <ViewState
  v-slot="example"
  src="state://date-picker"
  :data="{
   date: new Date(),
  }"
 >
  <DatePicker
   :state-src="example"
   state-path="date"
   mode="date"
  />
  <JsonView :data="example.data" />
 </ViewState>
</template>

See Also