Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/8788/vue-date-picker

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/8788/vue-date-picker

  • v2.4.0+incompatible
  • Source
  • Go
  • Socket score

Version published
Created
Source

vue-date-picker

npm version david deps npm license

datepicker component for Vue 2.x

Screenshot

screenshot

Instllation

$ npm install vue-date-picker --save

Usage

<template>
  <div class="demo">
    <datepicker :readonly="true" format="YYYY-MM-DD" name="date1"></datepicker>
    <datepicker value="2018-9-5" format="YYYY-M-D" name="date2"></datepicker>
    <datepicker :readonly="true" format="MMM/D/YYYY" name="date3" :input-attr="{ 'data-test': 'value' }"></datepicker>
  </div>
</template>

<script>
import datepicker from 'vue-date-picker'

export default {
  components: {
    datepicker
  }
}
</script>

Prop

PropTypeDefaultDescription
valueString--Date value of the datepicker
nameString--Input name property
formatStringYYYY-MM-DDDate formatting string
readonlyStringfalseInput readonly property
input-classArray | Object--Binding class for input
input-styleArray | Object--Binding inline style for input
input-attrObject--Binding attribute for input
calendar-classArray | Object--Binding class for calendar
calendar-styleArray | Object--Binding inline style for calendar
calendar-attrObject--Binding attribute for calendar

License

The MIT License

FAQs

Package last updated on 21 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc