Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > İpucu > setCustomTooltip
Varsayılan ipucu kullanıcı arayüzü yerine varsa çağrılacak özel bir işlev ayarlar.
İmza:
export declare function setCustomTooltip(customFn: CustomTooltip): void;
Parametreler
Parametre |
Tür |
Açıklama |
customFn |
CustomTooltip |
Alternatif bir ipucu kullanıcı arayüzü oluşturmak için kullanılan özel bir ipucu. |
Şunu döndürür:
geçersiz
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-08-21 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2024-08-21 UTC."],[[["Enables the use of a custom function to display tooltips instead of the default Blockly tooltip UI."],["Accepts a single argument: a `CustomTooltip` function that defines the alternative tooltip rendering logic."],["Replaces the standard tooltip behavior with the provided custom implementation."],["Does not return any value, simply updates the tooltip handling mechanism."]]],["The `Tooltip.setCustomTooltip()` function allows users to replace the default tooltip UI with a custom one. It takes a single parameter, `customFn`, of the type `CustomTooltip`. This `customFn` is the custom function that will be called to render the alternate tooltip UI. The function doesn't return any value. The function is used to change the tooltip UI.\n"]]