रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
ब्लॉकली > हाथ के जेस्चर > currentDropdownOwner
हाव-भाव.currentDropdownOwner प्रॉपर्टी
हाथ का यह जेस्चर (हाव-भाव) पहली बार शुरू होने पर, ड्रॉपडाउनDiv का मालिक. यह ज़रूरी है, क्योंकि फ़ील्ड के इवेंट पर कार्रवाई करने से पहले हम ड्रॉपडाउन को बंद कर देंगे. साथ ही, कुछ फ़ील्ड इस बात की परवाह करते हैं कि ड्रॉपडाउन का मालिक कौन है.
हस्ताक्षर:
currentDropdownOwner: Field | null;
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-21 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-21 (UTC) को अपडेट किया गया."],[[["`currentDropdownOwner` stores the initial owner of the dropdown when a gesture begins."],["This property is essential because dropdowns are closed before field events are processed, and some fields need to know the dropdown's owner."],["It helps ensure that fields can react appropriately even after the dropdown is closed during a gesture."]]],["The `currentDropdownOwner` property within the `Gesture` class stores the owner of the dropdownDiv at the start of a gesture. This information, which can be a `Field` or `null`, is crucial because dropdowns are closed before fields handle their events. Certain fields require knowledge of the dropdown's original owner to function correctly.\n"]]