0.1.3 • Published 2 years ago

@inkli/vue-datepicker v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

DatePicker

安装

npm i @inkli/vue-datepicker

使用

在你的Vue 3应用程序中引入@inkli/vue-datepicker 并将其添加到组件中:

<script setup lang="ts">
import { ref } from 'vue'
import DatePicker from '@inkli/vue-datepicker'
import '@inkli/vue-datepicker/style.css'

const date = ref(new Date())
</script>

<template>
  <DatePicker v-model="date" />
</template>

<style scoped>
</style>

demo

Attributes

属性名类型默认值
mode'date' | 'dateTime' |'time'date
dateMode'month' | 'week'month
timeMode'default' | 'simple'default
formatstring

Slots

插槽名说明
default
0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago