Stay organized with collections
Save and categorize content based on your preferences.
blockly > Tooltip
Functions
Variables
Variable |
Description |
HOVER_MS |
Delay before tooltip appears. |
LIMIT |
Maximum width (in characters) of a tooltip. |
MARGINS |
Horizontal padding between tooltip and screen edge. |
OFFSET_X |
Horizontal offset between mouse cursor and tooltip. |
OFFSET_Y |
Vertical offset between mouse cursor and tooltip. |
RADIUS_OK |
Radius mouse can move before killing tooltip. |
Type Aliases
Type Alias |
Description |
CustomTooltip |
A function that renders custom tooltip UI. 1st parameter: the div element to render content into. 2nd parameter: the element being moused over (i.e., the element for which the tooltip should be shown). |
TipInfo |
A type which can define a tooltip. Either a string, an object containing a tooltip property, or a function which returns either a string, or another arbitrarily nested function which eventually unwinds to a string. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[],[]]