You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* to optimize show/hide calls we set a timeout of 500ms for the mouse movement
71
-
* only if the mouse pointer is not moving for more than 500ms the data tip functionality is triggered
70
+
* to optimize show/hide calls we set a timeout of hoverTime for the mouse movement
71
+
* only if the mouse pointer is not moving for more than hoverTime the data tip functionality is triggered
72
72
*/
73
73
this.mouseMoveTimer=null;
74
74
/**
75
-
* to optimize show/hide calls we set a timeout of 500ms for the cursor movement
76
-
* only if the cursor is not moving for more than 500ms the data tip functionality is triggered
75
+
* to optimize show/hide calls we set a timeout of hoverTime for the cursor movement
76
+
* only if the cursor is not moving for more than hoverTime the data tip functionality is triggered
77
77
*/
78
78
this.cursorMoveTimer=null;
79
79
/**
80
80
* a reference to the markdown rendering service
81
81
* @type {AtomIDE.MarkdownService}
82
82
*/
83
83
this.renderer=null;
84
+
85
+
/** The time that the mouse/cursor should hover/stay to show a datatip. Also specifies the time that the datatip is still shown when the mouse/cursor moves [ms]. */
Copy file name to clipboardExpand all lines: package.json
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,12 @@
65
65
"description": "If set to true, the data tip is shown as soon as you move your mouse around.",
66
66
"type": "boolean",
67
67
"default": false
68
+
},
69
+
"hoverTime": {
70
+
"title": "Hover/Stay Time",
71
+
"description": "The time that the mouse/cursor should hover/stay to show a datatip. Also specifies the time that the datatip is still shown when the mouse/cursor moves [ms].",
0 commit comments