Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 703 Bytes

README.md

File metadata and controls

31 lines (17 loc) · 703 Bytes

vertiCal

A simple vertical calendar package for meteor.

meteor add jimmiebtlr:vertical

It can be added using the following template.

{{> vertiCal}}

#Number of Days shown The number of days shown can be controlled by passing numDays to the template.

{{> vertiCal numDays=30}}

#Reactivly Get and Set Selected Date The currently selected date can be accessed using.

Session.get('vertiCalSelectedDate');

and can be set through the same variable.

Session.set('vertiCalSelectedDate',moment().format('MM/DD/YYYY');

#Reactivly Get and Set the calendar start date

Session.get('vertiCalStartDate');
Session.set('vertiCalStartDate',moment().format('MM/DD/YYYY');