Socket
Socket
Sign inDemoInstall

@llej/vuejs-mobile-datepicker

Package Overview
Dependencies
45
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @llej/vuejs-mobile-datepicker

A Vue component to vuejs-mobile-datepicker


Version published
Weekly downloads
2
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Vue Component Plugin

A Vue component plugin to vuejs-mobile-datepicker

View

在线演示地址 demo(请用浏览器上切换到手机调试模式或在手机上体验)

Build Setup

# install
npm install vuejs-mobile-datepicker --save

// use
import DatePicker from 'vuejs-mobile-datepicker';

export default {
  // ...
  components: {
    DatePicker
  }
  // ...
}

Property

名称描述类型默认值选项
show-picker-model控制日期选择器显示隐藏Booleanfalsetrue | false
mark-weekend是否标记周末日期Booleanfalsetrue | false
language语言String"Chinese""English" | "Chinese"
default-date默认选择日期Datenew Date()---
start-date日期选择器可选最小日期Datenew Date('1900-1-1')---
end-date日期选择器可选最大日期Datenew Date()---
disable-date设置禁用日期,函数参数为当前日期如('2018-8-8'),要求返回Boolean类型的值,为true禁用Function------

Method

名称描述回调
cancel取消按钮触发事件---
confirm确认按钮触发事件,回调参数为选中日期如("2018-8-8")---

More

想了解更多关于该组件插件的源码,请移步到我的博客

Keywords

FAQs

Last updated on 08 Apr 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc