npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@llej/vuejs-mobile-datepicker

v1.1.5

Published

A Vue component to vuejs-mobile-datepicker

Downloads

3

Readme

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

Method

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

More

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