How i can bind click event on scheduled event


#1

Hello Team,
I want to bind onclick event on the scheduled event. Please refer the attached screenshot.
Awaiting for quick reply!

Thanks!


#2

Hi Mark,

You can use the onEventSelect event for that:

 <mbsc-eventcalendar [options]="calOptions"></mbsc-eventcalendar>

Typescript:

calOptions: MbscEventcalendarOptions = {
  onEventSelect: (ev) => {
    console.log(ev);
  }
};

I hope this helps!

Best,
Isti