0.2.1 • Published 6 years ago

vue-simple-datetime-picker v0.2.1

Weekly downloads
2
License
MIT
Repository
-
Last release
6 years ago

vue-simple-datetime-picker

Finally a simple, lightweight and self-contatined date, time, and datetime picker for Vue

This simple datetime picker takes advantage of the tiny dpicker and Moment libraries to provide robust, flexible date, time and datetime picker components for use in Vue. Bootstrap free-zone.

Installation

# install dependencies
npm i vue-simple-datetime-picker -s 

# import components where required
import SimpleDateTimePicker from 'vue-simple-datetime-picker'

export default {
  component: {
    SimpleDateTimePicker
  },
  render () {
    return <SimpleDateTimePicker v-model='date/time/datetime string' options={options} format='YYYY-MM-DD HH:mm' />
  }
}

Options and settings

Vue Simple Datetime Picker supports all options offered by DPicker, more information available here: https://soyuka.github.io/dpicker/#/_api

Pass an object to the 'options' prop on the SimpleDateTimePicker to override defaults.

Todo

  • Add support for Pickerjs events and methods
  • Include CSS in component automatically
  • Add some (any!) tests
0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago