Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
blockly > Info-bulle > getCustomTooltip
Récupère la fonction d'info-bulle personnalisée.
Signature :
export declare function getCustomTooltip(): CustomTooltip | undefined;
Renvoie :
CustomTooltip | indéfinie
Fonction d'info-bulle personnalisée, si elle est définie.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/09/12 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2024/09/12 (UTC)."],[[["`Tooltip.getCustomTooltip()` retrieves the custom tooltip function, if one has been set."],["It returns the custom tooltip function, or `undefined` if no custom tooltip function is assigned."],["The returned function can be used to provide custom tooltips for blocks instead of the default ones."]]],["The `Tooltip.getCustomTooltip()` function retrieves the currently defined custom tooltip function. It returns either a `CustomTooltip` object, representing the function, or `undefined` if no custom tooltip function has been set. This function has no input parameters and its purpose is to provide access to the active custom tooltip.\n"]]