संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ब्लॉकले > RenderedConnection > disconnectInternal
RenderedConnection.disconnectinternal() तरीका
इस कनेक्शन से कनेक्ट किए गए दो ब्लॉक डिसकनेक्ट करें.
हस्ताक्षर:
disconnectInternal(setParent?: boolean): void;
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
setParent |
बूलियन |
(ज़रूरी नहीं) डिसकनेक्ट किए गए ब्लॉक के पैरंट को सेट करना है या नहीं, यह डिफ़ॉल्ट रूप से 'सही' पर सेट होता है. अगर आपने पैरंट ग्रुप सेट नहीं किया है, तो पक्का करें कि बाद की कार्रवाई ज़रूरी हो. ऐसा न करने पर, व्यू और मॉडल सिंक नहीं होंगे. |
लौटाए जाने वाले प्रॉडक्ट:
अमान्य
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (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-07-25 (UTC) को अपडेट किया गया."],[],["The `disconnectInternal()` method of the `RenderedConnection` class disconnects two connected blocks. It accepts an optional boolean parameter, `setParent`, which defaults to `true`. This parameter determines if the parent of the disconnected block should be set. If `setParent` is set to false, an alternative action must be performed to synchronize the block's view and model. The method does not return a value.\n"]]