Vue Date Range Picker Component
Intellectual property of Oneway.mobi
Notice
This component is not meant to meet all the business requirements
so diving into src/
to make it fits your needs is highly recommended
Example
See here, source in example.html
Suggest inspecting it with devtools
Requirement
- Vue 1.x
- Vue Router 0.7.x
- vue-update-query-mixin
- Moment.js (available globally)
- jQuery + BootStrap 3.x (available globally)
bootstrap-daterangepicker
Installation
npm i vue-daterangepicker-component -S
alternatively:
<script src="dist/vue-daterangepicker-component.min.js"></script>
which exposesVueDateRangePicker
as a global variable
Usage
<date-range-picker :config></date-range-picker> props: { // more options see http://www.daterangepicker.com/#options config: { type: Object, default: () => ({}) } }
Build
npm run build
LICENSE
MIT