This repository has been archived by the owner on Jul 13, 2024. It is now read-only.
Add commit object to the mouseEventOptions object
Thanks to @srangos, you now have access to the Commit
object in mouse event callbacks.
For example:
gitGraph.canvas.addEventListener("commit:mouseover", function (event) {
// event.data.commit represents the commit being hovered
});