Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
edlynvillegas authored Jul 10, 2020
1 parent 9f4e5e3 commit 0c05035
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ _Simple Modern-looking Event Calendar_

[![NPM](https://nodei.co/npm/evo-calendar.png)](https://nodei.co/npm/evo-calendar/)

[![](https://data.jsdelivr.com/v1/package/npm/evo-calendar/badge?style=rounded)](https://www.jsdelivr.com/package/npm/evo-calendar)
[![Known Vulnerabilities](https://snyk.io/test/npm/evo-calendar/1.1.0/badge.svg)](https://snyk.io/test/npm/evo-calendar/1.1.0)

### :eyes: Demo:
[https://edlynvillegas.github.io/evo-calendar/](https://edlynvillegas.github.io/evo-calendar/)

Expand Down Expand Up @@ -35,6 +38,7 @@ Then, before your closing ```<body>``` tag add:
```html
<!-- Add jQuery library (required) -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>

<!-- Add the evo-calendar.js for.. obviously, functionality! -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/evo-calendar/js/evo-calendar.min.js"></script>
```
Expand Down Expand Up @@ -83,17 +87,17 @@ calendarEvents | array | null | Defined events for calendar to show |
$("#evoCalendar").evoCalendar({
calendarEvents: [
{
id: 'bHay68s', // Event's ID (required)
name: "New Year", // Event name (required)
date: "January/1/2020", // Event date (required)
type: "holiday", // Event type (required)
everyYear: true // Same event every year (optional)
id: 'bHay68s', // Event's ID (required)
name: "New Year", // Event name (required)
date: "January/1/2020", // Event date (required)
type: "holiday", // Event type (required)
everyYear: true // Same event every year (optional)
},
{
name: "Vacation Leave",
date: ["February/13/2020", "February/15/2020"], // Date range
type: "event"
}
name: "Vacation Leave",
date: ["February/13/2020", "February/15/2020"], // Date range
type: "event"
}
]
});
```
Expand Down

0 comments on commit 0c05035

Please sign in to comment.