2pv-vue-bulma-datepicker 中文文档教程
Datepicker
Datepicker 组件基于 flatpickr for Vue Bulma。 从 vue-bulma-datepicker 分叉,以便在运行中实现语言环境更改的重新初始化。
Installation
npm install 2pv-vue-bulma-datepicker --save
Examples
Single Input
<template>
<datepicker placeholder="European Format ('d-m-Y')" :config="{ dateFormat: 'd-m-Y', static: true }"></datepicker>
</template>
<script>
import Datepicker from '2pv-vue-bulma-datepicker'
export default {
components: {
Datepicker
}
}
</script>
Wrap Input
<template>
<datepicker :config="{ wrap: true }" readonly>
<a class="button" data-toggle><i class="fa fa-calendar"></i></a>
<a class="button" data-clear><i class="fa fa-close"></i></a>
</datepicker>
</template>
<script>
import Datepicker from '2pv-vue-bulma-datepicker'
export default {
components: {
Datepicker
}
}
</script>
Badges
Datepicker
Datepicker component is based on flatpickr for Vue Bulma. Forked from vue-bulma-datepicker in order to implement reinitialisation for locale changes on the fly.
Installation
npm install 2pv-vue-bulma-datepicker --save
Examples
Single Input
<template>
<datepicker placeholder="European Format ('d-m-Y')" :config="{ dateFormat: 'd-m-Y', static: true }"></datepicker>
</template>
<script>
import Datepicker from '2pv-vue-bulma-datepicker'
export default {
components: {
Datepicker
}
}
</script>
Wrap Input
<template>
<datepicker :config="{ wrap: true }" readonly>
<a class="button" data-toggle><i class="fa fa-calendar"></i></a>
<a class="button" data-clear><i class="fa fa-close"></i></a>
</datepicker>
</template>
<script>
import Datepicker from '2pv-vue-bulma-datepicker'
export default {
components: {
Datepicker
}
}
</script>
Badges
更多
你可能也喜欢
- 7-figure-cycle-review 中文文档教程
- @100mslive/hms-faceapi 中文文档教程
- @19h47/checkbox 中文文档教程
- @42.nl/ui-core-avatar 中文文档教程
- @4geit/swg-account-security-model 中文文档教程
- @4geit/swg-product-model 中文文档教程
- @a-sync/opencv-build 中文文档教程
- @a.perrot/vue3-treeselect 中文文档教程
- @aaronmaturen/monofun-input 中文文档教程
- @abdulrahman48811/lotide 中文文档教程