Skip to content
This repository has been archived by the owner on Mar 15, 2020. It is now read-only.
/ one-day-calendar Public archive

One day calendar view for scheduling and display events

Notifications You must be signed in to change notification settings

jughosta/one-day-calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

one-day-calendar

Calendar view for scheduling and display events of one day.

Input data: events array

/**
 * An array of event objects. Each event object consists of a start and end
 *  time  (measured in minutes) from 9am, as well as a unique id. The
 *	start and end time of each event will be [0, 720]. The start time should
 *	be less than the end time.
 */
var events = [
  {
    /**
    * @type {Number}
    */
    id: 0,
    
    /**
    * @type {Number} time in minuts from 0
    */
    start: 60, // 10am
    
    /**
    * @type {Number} time in minuts from 0
    */
    end: 120 // 11am
  } /*, other events*/
];

Demo: http://jughosta.github.com/one-day-calendar/

About

One day calendar view for scheduling and display events

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published