Skip to content

jaycetde/calendar-events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

calendar-events

Add events to an instance of JayceTDE/calendar

This adds a div to dates with events with a counter for the number of events

Installation

$ component install JayceTDE/calendar-events

Example

var Calendar = require('calendar')
  , calendarEvents = require('calendar-events')
  , cal = new Calendar()
;

calendarEvents.plugin(cal);

// Add an array of dates events
cal.events([ new Date(), "2000/1/01" ]);

// Add a single date event
cal.addEvent(new Date("2010/5/18"));

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published