Socket
Socket
Sign inDemoInstall

datepicker-holiday

Package Overview
Dependencies
19
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    datepicker-holiday

带节假日的datepicker


Version published
Weekly downloads
2
decreased by-50%
Maintainers
1
Install size
13.4 MB
Created
Weekly downloads
 

Readme

Source

ViewUI

A high quality UI Toolkit built on Vue.js.

该项目即为原先的 iView。iView 作者将在此仓库继续开发 iView 4.0 和后续版本,以及维护工作。新的组件库命名为 ViewUI,原仓库 iView 作者不再提交内容。

This project is the original iView. The iView author will continue to develop iView 4.0 and subsequent releases, as well as maintenance work, in this repository. The new component library is named ViewUI, and the iView author will no longer continue to submit content in the original repository.

View UI NPM downloads NPM downloads JS gzip size CSS gzip size Join the chat at https://gitter.im/iview/iview Backers on Open Collective Sponers on Open Collective

Docs

4.x | 3.x | 2.x | 1.x

Features

  • Dozens of useful and beautiful components.
  • Friendly API. It's made for people with any skill level.
  • Extensive documentation and demos.
  • It is quite beautiful.
  • Supports both Vue.js 2 and Vue.js 1.

Who's using ViewUI

Install

We provide an View UI plugin for Vue CLI 3, which you can use to quickly build an ViewUI-based project.

We also provide a starter kit view-ui-project for you.

Install View UI

Using npm:

npm install view-design --save

Using a script tag for global use:

<script type="text/javascript" src="iview.min.js"></script>
<link rel="stylesheet" href="dist/styles/iview.css">

You can find more info on the website.

Usage

<template>
    <Slider v-model="value" range />
</template>
<script>
    export default {
        data () {
            return {
                value: [20, 50]
            }
        }
    }
</script>

Using css via import:

import 'view-design/dist/styles/iview.css';

Compatibility

  • Supports Vue.js 2.x
  • Supports Vue.js 1.x - visit 1.0 docs
  • Supports SSR
  • Supports Nuxt.js
  • Supports TypeScript
  • Supports Electron
  • Most components and features support IE9 and above browsers, some components and features do not support IE

Community

If you want to contribute or have questions or bugs to report:

Questions: Find other users at the Gitter chat or post on StackOverflow using [iview-ui] tag
Bugs: File a issue here - please provide a example so we can help you better
Contribute: Contact us in Gitter chat, WeChat or via mail to admin@aresn.com. PRs welcome!

Major Contributors

NameAvatarNameAvatarNameAvatar
Aresnjingsamrijn
lcx960324GITleonine1989huixisheng
Sergio Crisostomolison16Xotic750
huanghong1125yangdan8

License

MIT

Copyright (c) 2016-present, ViewDesign

  • 带节假日的datepicker,在iview的datepicker基础上改的
  • 引入
      import DatepickerHoliday from 'datepicker-holiday';
    
  • 注册
      Vue.use(DatepickerHoliday)
    
  • props 传holidayList,定义显示的假期
  • el:
    <DatepickerHoliday props="holidayList"></DatepickerHoliday>
    
    const holidayList = [
      {
        startDate: '2020-10-01',
        endDate: '2020-10-08',
        title: '国庆'
      },
      {
        startDate: '2021-01-01',
        endDate: '2021-01-03',
        title: '元旦'
      }
    ];
    
  • 发布 npm publish

Keywords

FAQs

Last updated on 09 Jul 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