A custom element allowing to navigate a protein/nucleic sequence.
<protvista-tooltip title="My tooltip" visible x="10" y="20">
Content of the tooltip (in <code>html</code> too)
</protvista-tooltip>
The title to be displayed.
The x position, in pixels, of the target of the tooltip.
The y position, in pixels, of the target of the tooltip.
Flag denoting if the tooltip should be visible or not.
Selector to get the container of the tooltip (for edge calculations). Default to the main html element of the current document.
Override by setting new values to custom properties on the element itself
z-index of the tooltip, defaults to 50000
.
color of the tooltip title background, defaults to black
.
color of the tooltip text, defaults to white
.
color of the tooltip body background, defaults to #616161
.
width of the triangle pointing the tooltip towards its target, in pixels,
defaults to 16px
.
height of the triangle pointing the tooltip towards its target, in pixels,
defaults to 10px
.
distance of the triangle pointing the tooltip towards its target from the side
of the tooltip, in pixels, defaults to 10px
.
distance of the triangle pointing the tooltip towards its target from the side
of the tooltip, in pixels, defaults to 5px
.