Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > ToolboxItem >
getClickTarget
Tıklanabilir HTML öğesini alır. Üst araç kutusu öğesi tıklama alır. Üst araç kutusu, onClick etkinliğini doğru toolboxItem öğesine iletebilmesi için bu öğeye bir kimlik ekler.
İmza:
getClickTarget(): Element | null;
Şunu döndürür:
Öğe | boş
Tıklama alan HTML öğesi veya bu öğenin tıklama almaması gerekiyorsa null.
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: 2025-07-25 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: 2025-07-25 UTC."],[],["The `getClickTarget()` method, part of the `ToolboxItem` class, retrieves the clickable HTML element. This element, identified by the parent toolbox with a unique ID, is the receiver of click events. The method returns this clickable `Element` or `null` if the item shouldn't receive clicks. The parent toolbox element is the one that actually receives the clicks.\n"]]