vue-daterangepicker-component

Date range picker for Vue 1.x, based on bootstrap-daterangepicker

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
vue-daterangepicker-component
2201.0.06 years ago6 years agoMinified + gzip package size for vue-daterangepicker-component in KB

Readme

Vue Date Range Picker Component
!npm versionnpm-v-imgnpm-url !npm downloadnpm-dl-imgnpm-url
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

  • Moment.js (available globally)
  • jQuery + BootStrap 3.x (available globally)

Installation

npm i vue-daterangepicker-component -S
alternatively: <script src="dist/vue-daterangepicker-component.min.js"></script>
which exposes VueDateRangePicker 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