रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
ब्लॉकली > ब्लॉक करें > setDeletable
ब्लॉक.setDeletable() मेथड
सेट करें कि इस ब्लॉक को हटाया जा सकता है या नहीं.
हस्ताक्षर:
setDeletable(deletable: boolean): void;
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
हटाया जा सकने वाला |
बूलियन |
हटाने योग्य होने पर सही. |
लौटाए जाने वाले प्रॉडक्ट:
अमान्य
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-22 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-22 (UTC) को अपडेट किया गया."],[[["The `setDeletable()` method controls whether a block can be deleted by the user."],["It takes a single boolean argument, `deletable`, which is true if the block should be deletable and false otherwise."],["Calling this method with `true` allows the block to be deleted, while calling it with `false` prevents deletion."]]],[]]