Calendario icon indicating copy to clipboard operation
Calendario copied to clipboard

Add/Remove Event Examples

Open grayghostvisuals opened this issue 11 years ago • 0 comments

Are there any examples that show how to add/remove event data besides the commented code in the demo? Would be super cool to see this in the repo as well.

// you can also add more data later on. As an example:
/*
someElement.on( 'click', function() {

    cal.setData( {
        '03-01-2013' : '<a href="#">testing</a>',
        '03-10-2013' : '<a href="#">testing</a>',
        '03-12-2013' : '<a href="#">testing</a>'
    } );
    // goes to a specific month/year
    cal.goto( 3, 2013, updateMonthYear );

} );
*/

grayghostvisuals avatar Feb 27 '14 17:02 grayghostvisuals