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

vue2-datepicker

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue2-datepicker

A Datepicker Component For Vue2

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
83K
decreased by-0.35%
Maintainers
1
Weekly downloads
 
Created
Source

vue2-datepicker

A Datepicker Component For Vue2

Demo

https://mengxiong10.github.io/vue2-datepicker/ image

Usage

<template>
  <div>
    <date-picker v-model="time1"></date-picker>
    <date-picker v-model="time2" range></date-picker>
  </div>
</template>

<script>
import DatePicker from 'datepicker/index.vue'

export default {
  components: { DatePicker },
  data() {
    return {
      time1: '',
      time2: '',
    }
  }
}
</script>

Attributes

PropTypeDefaultDescription
rangeBooleanfalseif true, the type is daterange
formatStringyyyy-MM-ddDate formatting string
languageStringzhTranslation (en/zh)
placeholderStringinput placeholder text
widthString/Number210input size

Keywords

FAQs

Package last updated on 09 May 2017

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