रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ब्लॉकली > हाथ के जेस्चर
हाथ के जेस्चर की क्लास
एक जेस्चर के लिए क्लास.
हस्ताक्षर:
export declare class Gesture
कंस्ट्रक्टर
प्रॉपर्टी
प्रॉपर्टी |
मॉडिफ़ायर |
टाइप |
ब्यौरा |
currentDropdownOwner |
|
फ़ील्ड | शून्य |
हाथ का यह जेस्चर (हाव-भाव) पहली बार शुरू होने पर, ड्रॉपडाउनDiv का मालिक. यह ज़रूरी है, क्योंकि फ़ील्ड के इवेंट पर कार्रवाई करने से पहले हम ड्रॉपडाउन को बंद कर देंगे. साथ ही, कुछ फ़ील्ड इस बात की परवाह करते हैं कि ड्रॉपडाउन का मालिक कौन है. |
isEnding_ |
protected |
बूलियन |
बूलियन का इस्तेमाल आंतरिक तौर पर एक चक्र को तोड़ने के लिए किया जाता था. |
startWorkspace_ |
protected |
WorkspaceSvg | शून्य |
वह फ़ाइल फ़ोल्डर जिस पर जेस्चर शुरू हुआ. किसी पेज पर एक से ज़्यादा फ़ाइल फ़ोल्डर हो सकते हैं; यह Blockly.common.getMainWorkspace() का इस्तेमाल करने की तुलना में ज़्यादा सटीक है. |
तरीके
तरीका |
मॉडिफ़ायर |
ब्यौरा |
getCurrentDragger() |
|
अगर जेस्चर को खींचें और छोड़ें, तो मौजूदा ड्रैगर को लौटाता है. |
inProgress() |
static |
क्या किसी फ़ाइल फ़ोल्डर में, फ़िलहाल खींचें और छोड़ें या किसी अन्य जेस्चर का इस्तेमाल किया जा रहा है? |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-21 (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"]],["आखिरी बार 2024-08-21 (UTC) को अपडेट किया गया."],[[["The `Gesture` class in Blockly handles user interactions like drags and other gestures within a workspace."],["It tracks the workspace where the gesture originated and manages the current dragger if the gesture involves dragging."],["You can use the `inProgress()` method to check if any drag or gesture is currently active on any of the Blockly workspaces."],["A `Gesture` instance is initiated with details of the event and the originating workspace."]]],["The `Gesture` class manages user interactions, primarily focusing on drags. It stores the starting workspace and tracks the current dropdown owner. Key actions include creating a new `Gesture` instance with an event and workspace. It manages whether the gesture is ending internally, the `getCurrentDragger()` method provides access to the active dragger, and the static method `inProgress()` checks if any gesture is underway across all workspaces.\n"]]