jackducasse / caleandar

A lightweight, library independent JavaScript calendar
MIT License
80 stars 41 forks source link

how to use eventclick #7

Open YiniXu9506 opened 5 years ago

YiniXu9506 commented 5 years ago

Could you please give an example to illustrate how to use bing eventclick. What i did here throw me an error, which is eventclick is not bind. PTAL, thx!

screen shot 2018-12-25 at 6 43 32 pm
DeflateAwning commented 4 years ago

Remove the parenthesis so that it's EventClick: clickMe. You'll also want to change the function definition to function clickMe(link).