@qctrl/visualizer
Version:
The Q-CTRL Visualizer is a package for displaying animated 3d Bloch sphere visualizations.
14 lines (13 loc) • 348 B
TypeScript
/**
* A class representing the tooltip element with a method to update the tooltip style
*/
declare class Tooltip {
container: HTMLDivElement;
tooltip: HTMLSpanElement;
constructor();
update(tooltipText?: string, isVisible?: boolean, position?: {
top: number;
left: number;
}): void;
}
export default Tooltip;