jquery.timeline icon indicating copy to clipboard operation
jquery.timeline copied to clipboard

add event issue

Open danyaGharbieh opened this issue 3 years ago • 0 comments

I'm using the plugins and call add event js function but the event doesn't fired

js Code:

$('#roadmap').Timeline('addEvent', [ {start:'2022-05-16 00:00:00',end:'2022-12-20 23:59:59',row:3,label:'Add Event',content:'test test test...'}, {start:'2022-06-18 00:00:00',end:'2022-09-22 23:59:59',row:4,label:'Add Event 2',content:'test2 test2 test2...'}, ], function( elm, opts, usrdata, addedEvents ){ console.log( usrdata.msg ); // show "Added Events!" in console }, { msg: 'Added Events!' } );

is there any mistake ?

danyaGharbieh avatar Feb 07 '22 13:02 danyaGharbieh