0.2.1 • Published 5 years ago

vue-calendar-x v0.2.1

Weekly downloads
17
License
-
Repository
-
Last release
5 years ago

vue-calendar-x

A simple calendar for Vue2, no dependencies except Vue2.

You can use it by npm install vue-calendar-x

npm.io

Props

  • nowday Timestamp. The currently selected date. Default is today's date.
  • signList A array of timestamp which need to be tagged.

Events

  • month-change triggers when the displayed month changes. Parameters: current displayed month (e.g. 2019-01)
  • date-change triggers when the selected date changes. Parameters: current selected date (e.g. 2019-01-26)

Notes

if you want to look an example, please run command like:

yarn install
yarn run serve

The default width of every date's element is 30px. So the default width of this component is 100%. You change the component's style(e.g. <vue-calendar-x style="width: 500px;"></vue-calendar-x>) to handle the displayed width.

0.2.1

5 years ago

0.2.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago