Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add/Remove Event Examples #12

Open
grayghostvisuals opened this issue Feb 27, 2014 · 0 comments
Open

Add/Remove Event Examples #12

grayghostvisuals opened this issue Feb 27, 2014 · 0 comments

Comments

@grayghostvisuals
Copy link

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 );

} );
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant