Skip to content
This repository has been archived by the owner on Jul 13, 2024. It is now read-only.

Configurable tooltips container

Compare
Choose a tag to compare
@nicoespeon nicoespeon released this 12 Mar 21:04
· 974 commits to master since this release

You can specify a custom HTML element to contain tooltips displayed in compact mode:

var gitGraph = new GitGraph({
  template: "metro",
  tooltipContainer: document.querySelector("#tooltips"),
  mode: "compact"
});

If you don't provide a tooltipContainer, it will default to document.body.

See #147.