File tree Expand file tree Collapse file tree 1 file changed +12
-13
lines changed
Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change 22
33element-ui style calendar widget, typescript friendly
44
5- [ ![ npm] ( https://img.shields.io/npm/v/@mrhanson/el-calendar.svg )] ( https://www.npmjs.com/package/@mrhanson/el-calendar ) [ ![ npm bundle size] ( https://img.shields.io/bundlephobia/min/@mrhanson/el-calendar?style=plastic )] ( https://www.npmjs.com/package/@mrhanson/el-calendar ) [ ![ npm] ( https://img.shields.io/npm/l/@mrhanson/el-calendar.svg )] ( https://www.npmjs.com/package/@mrhanson/el-calendar )
5+ [ ![ npm] ( https://img.shields.io/npm/v/@mrhanson/el-calendar.svg )] ( https://www.npmjs.com/package/@mrhanson/el-calendar )
6+ [ ![ npm] ( https://img.shields.io/npm/l/@mrhanson/el-calendar.svg )] ( https://www.npmjs.com/package/@mrhanson/el-calendar )
67
78![ demonstration] ( ./demonstration.PNG )
89
@@ -26,21 +27,21 @@ yarn add @mrhanson/el-calendar
2627
2728``` html
2829<template >
29- <Calendar ref =" calendar" v-model =" selectedDate" ></Calendar >
30+ <Calendar ref =" calendar" v-model =" selectedDate" ></Calendar >
3031</template >
3132
3233<script >
33- import Calendar from ' @mrhanson/el-calendar'
34+ import Calendar from ' @mrhanson/el-calendar'
3435
35- export default {
36- components: { Calendar }
36+ export default {
37+ components: { Calendar }
3738
38- data () {
39- return {
40- selectedDate: new Date ()
41- }
42- }
43- }
39+ data () {
40+ return {
41+ selectedDate: new Date ()
42+ }
43+ }
44+ }
4445 </script >
4546```
4647
@@ -53,8 +54,6 @@ yarn add @mrhanson/el-calendar
5354| locale | string | ` 'cn' ` | ` 'cn' ` ,` 'en' ` | i18n |
5455| dotArr | Array<boolean > | ` [] ` | | show dot under date or not, Notice: length of dotArr must be same as max date of current month |
5556
56- ''`
57-
5857## Events
5958
6059| Name | Params | Description |
You can’t perform that action at this time.
0 commit comments