Class: Tooltip

Tooltip base class

Constructor

new Tooltip(tree, optionsopt)

Parameters:
Name Type Attributes Description
tree Tree instance
options Object <optional>
Properties
Name Type Attributes Default
className string <optional>
phylocanvas-tooltip
element HTMLElement <optional>
document.createElement('div')
zIndex number <optional>
2000
parent HTMLElement <optional>
tree.containerElement
Source:

Methods

close()

Source:

open(xopt, yopt, nodeopt)

Parameters:
Name Type Attributes Default
x number <optional>
100
y number <optional>
100
node Branch <optional>
Source:

createContent()

Throws:
an error if not overridden by a subclass.
Source: