1.0.0 • Published 7 years ago

vue-datepicker-touch v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Vue.js Datepicker

Bootstrap compatible (v3.3.7) & Touch enabled - Vue.js Datepicker

Requirements

Usage

<vue-datepicker
    name="input name"
    placeholder="placeholder"
    value="'YYYY-MM-DD HH:mm:ss'"
    :format="'YYYY-MM-DD HH:mm:ss'"
    :min="'YYYY-MM-DD HH:mm:ss'"
    :max="'YYYY-MM-DD HH:mm:ss'"
    :time="true"
    :readonly="true"
    :required="false"
    :validate="true"
></vue-datepicker>

Props

NameTypeDefaultDescription
nameStringLaravel Plus DatepickerName of the input
placeholderStringPick a date...Placeholder text
:valueStringnullDefault value
:formatStringYYYY-MM-DD HH:mm:ssOutput format for the date
:minStringYYYY-MM-DD HH:mm:ssMin date to allow for select
:maxStringYYYY-MM-DD HH:mm:ssMax date to allow for select
:timeBooleantrueEnable time selection
:readonlyBooleanfalseMake input read only
:requiredBooleanfalseHTML5 required attribute
:validateBooleanfalseEnable validation

License

The MIT License