1.2.0 • Published 5 years ago
vue-single-picker v1.2.0
vue-single-picker
Installation
Install vue-single-picker package.
npm i vue-single-picker
yarn add vue-single-pickerConfiguration
You can use as general CSS frameworks.
import Vue from 'vue'
import { CoreUI } from 'vue-single-picker'
import 'vue-single-picker/dist/vue-single-picker.css'
Vue.use(CoreUI)Props
<v-single-picker
ref="single-picker"
:show-dropdown="showDropdown"
:auto-apply="autoApply"
:linked-calendars="linkedCalendars"
:date="date"
:opens="opens"
@update="updateValues"
@toggle="checkOpen"
>
<div slot="input" slot-scope="picker" style="min-width: 350px;">
{{ picker }}
</div>
</v-single-picker>date is required, please format in dayjs plugin
| # | Type | Default |
|---|---|---|
| minDate | Date | |
| maxDate | Date | |
| linkedCalendars | Boolean | true |
| showDropdown | Boolean | false |
| date | string | |
| localeData | Object | |
| opens | String | center ( left / right ) |
2.0.0-beta.1
5 years ago
2.0.0-beta.0
5 years ago
1.2.0
5 years ago
1.1.3
5 years ago
1.1.1
5 years ago
1.1.2
5 years ago
1.1.0
5 years ago