Socket
Socket
Sign inDemoInstall

vue-lunar-full-calendar

Package Overview
Dependencies
7
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vue-lunar-full-calendar

Increase the functions of Chinese lunar calendar, 24 solar terms and holidays


Version published
Maintainers
1
Install size
8.21 MB
Created

Readme

Source

vue-lunar-full-calendar

a vue component for lunar fullcalendar. Uses Moment.js for date operations.
Increase the functions of Chinese lunar calendar, 24 solar terms and holidays(增加中国农历、24节气和节假日的功能)

Installation

npm install --save vue-lunar-full-calendar

Example App

I have created a simple Vue 2 webpack application as an example/playground https://github.com/a306916069/vue-lunar-fullcalendar

Image

a vue component for lunar fullcalendar. Uses Moment.js for date operations.
Increase the functions of Chinese lunar calendar, 24 solar terms and holidays(增加中国农历、24节气和节假日的功能)

Image text

Important function

1、Use vue-lunar-full-calendar , You can use one function to get the date of a certain day.

2、You can pass any custom options through to fullcalendar by using the config prop. Control whether the Chinese calendar shows true.

<lunar-full-calendar :events="events" :config="config"></lunar-full-calendar>
...
<script>
...
  data() {
    return {
      events: [],
      config: {
        lunarCalendar: true //Control whether the Chinese calendar shows true, unrealistic flase, default true.
      },
    }
  },
  window.lunar(date)   // Date is the date.
...
</script>

Image text

Keywords

FAQs

Last updated on 02 Nov 2018

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