https://github.com/paulogmello/addeventtocalendar
Add a link with Google Calendar event
https://github.com/paulogmello/addeventtocalendar
calendar google link
Last synced: over 1 year ago
JSON representation
Add a link with Google Calendar event
- Host: GitHub
- URL: https://github.com/paulogmello/addeventtocalendar
- Owner: paulogmello
- Created: 2024-12-10T15:47:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-10T17:14:40.000Z (over 1 year ago)
- Last Synced: 2025-01-22T00:39:07.915Z (over 1 year ago)
- Topics: calendar, google, link
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Add Event to Callendar
This simple library (1.61 KB) is usefull when you need add google calendar events in your site as a link
### Installation
Donwload addToCalendarEvent.js and include in your site
### How to use
| Parameters | Effect |
|--|--|
| title | Event Name |
| description | Description about the event |
| startDate | Day of the event, format **DD/MM/YYYY** |
| endDate | Last day of the event, format **DD/MM/YYYY** |
| startTime | Time when the event starts, format **HH:MM** |
| endTime | Time when the event ends, format **HH:MM** |
See the example below:
Click here
var callForPapers = new addToCalendar("#callForPapers", {
startTime: "08:00",
endTime: "18:00",
startDate: "15/03/2025",
endDate: "15/05/2025",
description: "The Call for Papers is an opportunity to share your work, engage with a global community, and contribute to the advancement of knowledge in your field. Accepted papers will be included in the conference proceedings and have the chance to be presented during the event, fostering discussions and connections among participants.",
title: "Rio'25 - Call for Papers",
});