- Fixed a bug that the event node height does not work to be adjusted with depending on a "rowHeight" option.
- Fixed a bug that different ruler is displayed from actual date-time when has timezone diff times as like on while DST.
- Changed an "openEvent" method to be able to bind custom user function that fire just before opening event. (instead of "onOpenEvent" option in PR#37)
Usage:
$('#my-timeline').Timeline().Timeline('openEvent', (targetEvent, viewerContents) => {
// Called just before inserting content to the viewer for the timeline.
console.log( targetEvent, viewerContents )
// If return false at this function then you can skip default viewer rendering process
// built in this plugin.
return false
})