रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
फ़ाइल फ़ोल्डर बनाना
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Blockly का फ़ाइल फ़ोल्डर, Blockly का सबसे ऊंचा कॉम्पोनेंट होता है. यह ऐसा यूज़र इंटरफ़ेस (यूआई) है
जिन्हें ब्लॉक के साथ प्रोग्राम करने के लिए इस्तेमाल किया जाता है.
फ़ाइल फ़ोल्डर और उसके सबकॉम्पोनेंट के बारे में ज़्यादा जानकारी के लिए, विज़ुअल
शब्दावली.
इंजेक्शन div
ब्लॉकली वर्कस्पेस को <div>
में इंजेक्ट किया जाना चाहिए, जिसे "इंजेक्शन" कहा जाता है
div".
इंजेक्शन डिफ़ का साइज़ स्टैटिक हो सकता है या
डाइनैमिक इस्तेमाल करें. div के भीतर ब्लॉकली तत्व उनके अपडेट को अपडेट करते हैं
साइज़.
नीचे दिया गया कोड स्निपेट, स्टैटिक साइज़ वाले इंजेक्शन div के लिए एचटीएमएल दिखाता है:
<div id="blocklyDiv" style="height: 480px; width: 600px;"></div>
इंजेक्शन
इंजेक्शन ऐसे सभी एचटीएमएल सब-एलिमेंट बनाता है जो एक पेज का यूज़र इंटरफ़ेस (यूआई) बनाते हैं
name@yourcompany.com जैसा कोई प्रोफ़ेशनल ईमेल पता बनाएं. इससे आपका कारोबार ज़्यादा भरोसेमंद बनेगा. यह फ़ाइल फ़ोल्डर पाने के लिए, सभी ज़रूरी प्रोसेस शुरू करता है
इस्तेमाल के लिए तैयार है.
इंजेक्शन फ़ंक्शन, इंजेक्शन डीआईवी के आईडी या इंजेक्शन का इस्तेमाल कर सकता है
div ही:
// Passes the ID.
const workspace = Blockly.inject('blocklyDiv', { /* config */ });
// Passes the injection div.
const workspace = Blockly.inject(
document.getElementById('blocklyDiv'), { /* config */ });
कॉन्फ़िगरेशन
फ़ाइल फ़ोल्डर को कई विकल्पों के साथ कॉन्फ़िगर किया जा सकता है, जैसे कि लेआउट और स्टाइल
इंजेक्शन के दौरान.
कॉन्फ़िगरेशन के विकल्पों के बारे में ज़्यादा जानने के लिए, यहां जाएं
कॉन्फ़िगरेशन के विकल्प.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-06-13 (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-06-13 (UTC) को अपडेट किया गया."],[[["A Blockly workspace is a UI for programming with blocks and is injected into a `\u003cdiv\u003e` element called the injection div."],["The injection div can have static or dynamic sizing, with Blockly elements resizing accordingly."],["Injection creates the workspace UI and initializes it for use, taking either the injection div's ID or the div itself as input."],["Blockly workspaces are highly configurable, allowing you to customize layout, style, and other options during injection."]]],["Blockly workspaces, the UI for block programming, are injected into a designated `\u003cdiv\u003e` element called the \"injection div.\" This div can have a fixed or dynamic size, with Blockly elements resizing accordingly. Injection initializes the workspace UI and readies it for use. The `Blockly.inject()` function, which creates the workspace, accepts either the injection div's ID or the div itself. Workspace configuration, including layout and style, is set during the injection process.\n"]]