Skip to content

Commit 97bbe8a

Browse files
committed
Added lines to readme, changed version of package
1 parent 2c2d770 commit 97bbe8a

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
66
[![Downloads](https://img.shields.io/npm/dm/vue-functional-calendar.svg)](https://www.npmjs.com/package/vue-functional-calendar)
77
![gzip size](https://img.shields.io/badge/gzip%20size-5.73%20kB-44cc11.svg)
8+
___
89

910
## Demo
1011

@@ -15,7 +16,8 @@ Demo: https://y3jnxov469.codesandbox.io/
1516

1617
<img src="https://manukminasyan.github.io/vue-functional-calendar/public/demo.png"/>
1718

18-
#
19+
___
20+
1921
* Lightweight, high-performance calendar component based on Vue.js
2022
* Small memory usage, good performance, good style, and high scalability
2123
* Native js development, no third-party library introduced
@@ -36,6 +38,7 @@ ___
3638
```
3739
npm i vue-functional-calendar --save
3840
```
41+
___
3942

4043
## Usage
4144

@@ -74,6 +77,7 @@ export default {
7477
:...:
7578
></FunctionalCalendar>
7679
````
80+
___
7781

7882
## Usage With Configs
7983
### Component Settings
@@ -103,12 +107,14 @@ export default {
103107
// :configs="calendarConfigs"
104108
></FunctionalCalendar>
105109
````
110+
___
106111

107112
### A note on markDates
108113
The `markedDates` property **must** be in JavaScript Date format, e.g, no leading zeroes on month and days.
109114

110115
✅ Correct: 1/12/2019
111116
❎ Incorrect: 01/12/2019
117+
___
112118

113119
## Available props
114120
| Prop | Type | Default | Example | Description |
@@ -135,6 +141,7 @@ The `markedDates` property **must** be in JavaScript Date format, e.g, no leadin
135141
| dayNames | Array | ['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'] | ['Monday', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Sunday'] | Week Day Names |
136142
| monthNames | Array | ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"] | ["Jan.", "Feb.", "Mar", "Apr.", "May", "Jun.", "Jul.", "Aug.", "Sept.", "Oct.", "Nov.", "Dec."] | Month names |
137143
| transition | Boolean | true | false | Calendar animations |
144+
___
138145

139146
### Events
140147

@@ -155,6 +162,7 @@ For example: <FunctionalCalendar ref="Calendar"></FunctionalCalendar>
155162
✅ this.$refs.Calendar.NextYear(); //Call method implementation to go to next year
156163
✅ this.$refs.Calendar.ChooseDate('2018-12-12'); //Call method implementation to go to a date
157164
````
165+
___
158166

159167
## Other
160168
* The following Demo.vue has a demo for reference.

babel.config.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1+
// babel.config.js
12
module.exports = {
23
presets: [
3-
'@vue/app'
4+
['@vue/app', {
5+
polyfills: [
6+
'es6.promise',
7+
'es6.symbol'
8+
]
9+
}]
410
]
5-
};
11+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"name": "vue-functional-calendar",
88
"description": "A style-uninstallable datepicker component for Vue.js",
9-
"version": "2.1.8",
9+
"version": "2.1.9",
1010
"license": "MIT",
1111
"repository": {
1212
"type": "git",

0 commit comments

Comments
 (0)