Rename tooltip to hover/leave

This commit is contained in:
Daniel Imms
2020-02-07 09:55:06 -08:00
parent c327116e7f
commit b18ded0e2d
6 changed files with 38 additions and 38 deletions
+14 -14
View File
@@ -1108,26 +1108,26 @@ declare module 'xterm' {
*/
text: string;
/**
* Called when the link's tooltip is ready to show.
* @param event The mouse event triggering the callback.
* @param text The text of the link.
*/
showTooltip?(event: MouseEvent, teext: string): void;
/**
* Called when the link's tooltip is ready to hide.
* @param event The mouse event triggering the callback.
* @param text The text of the link.
*/
hideTooltip?(event: MouseEvent, text: string): void;
/**
* Calls when the link is activated.
* @param event The mouse event triggering the callback.
* @param text The text of the link.
*/
handle(event: MouseEvent, text: string): void;
/**
* Called when the mouse hovers the link.
* @param event The mouse event triggering the callback.
* @param text The text of the link.
*/
hover?(event: MouseEvent, text: string): void;
/**
* Called when the mouse leaves the link.
* @param event The mouse event triggering the callback.
* @param text The text of the link.
*/
leave?(event: MouseEvent, text: string): void;
}
/**