संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ब्लॉकली > ToolboxItem > getClickTarget
ऐसा एचटीएमएल एलिमेंट मिलता है जिस पर क्लिक किया जा सकता है. पैरंट टूलबॉक्स एलिमेंट को क्लिक मिलते हैं. पैरंट टूलबॉक्स इस एलिमेंट में एक आईडी जोड़ेगा, ताकि यह onClick इवेंट को सही ToolboxItem को भेज सके.
हस्ताक्षर:
getClickTarget(): Element | null;
लौटाए जाने वाले प्रॉडक्ट:
एलिमेंट | शून्य
वह एचटीएमएल एलिमेंट जिसे क्लिक मिलते हैं या अगर इस आइटम को क्लिक नहीं मिलने चाहिए, तो वह शून्य या शून्य हो जाता है.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 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"]]