0.1.8 • Published 6 years ago

vue2-daterange-picker-with-custom-button v0.1.8

Weekly downloads
42
License
MIT
Repository
github
Last release
6 years ago

vue2-daterange-picker

Vue2 date range picker base on https://github.com/dangrossman/bootstrap-daterangepicker (no jQuery)

Installlation

# install via npm

npm i vue2-daterange-picker-with-custom-button --save

Usage

import DateRangePicker from 'vue-daterange-picker/src/components/DateRangePicker'

export default {
    components: { DateRangePicker },
    data() {
        return {
            startDate: '2017-09-05',
            endDate: '2017-09-15',
            button: 'button title'                   
        }
    }
}
<template>
    <date-range-picker :startDate="startDate" :endDate="endDate" @input="console.log(value)"  @cancel="openSchedules" :custom="button">
</template>
:locale-data="{ daysOfWeek: [ 'Нд', 'Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб' ] }" for locale lang

Run local demo

npm install

npm run dev

added translation with For detailed explanation on how things work, checkout the guide and docs for vue-loader.

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago