रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ब्लॉकली > सामान्य > getMainWorkspace
Common.getMainWorkspace() फ़ंक्शन
फ़ोकस के आधार पर, आखिरी बार इस्तेमाल किया गया टॉप लेवल फ़ाइल फ़ोल्डर दिखाता है. इस सुविधा का इस्तेमाल न करें. खास तौर पर तब, जब किसी पेज पर एक से ज़्यादा Blockly इंस्टेंस हों.
हस्ताक्षर:
export declare function getMainWorkspace(): Workspace;
लौटाए जाने वाले प्रॉडक्ट:
फ़ाइल फ़ोल्डर
मुख्य फ़ाइल फ़ोल्डर.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-29 (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-29 (UTC) को अपडेट किया गया."],[[["`getMainWorkspace()` returns the last focused top-level Blockly workspace."],["It's recommended to avoid this function, especially with multiple Blockly instances on a page."],["The function returns a `Workspace` object representing the main workspace."]]],["The `getMainWorkspace()` function retrieves the most recently used top-level workspace, determined by focus. It returns a `Workspace` object representing the main workspace. Its use is discouraged, especially on pages with multiple Blockly instances, and is meant to get the main workspace. The function's signature and return type are also provided.\n"]]