با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
blockly > RenderedConnection > disconnectInternal
متد RenderedConnection.disconnectInternal().
دو بلوک را که توسط این اتصال به هم وصل شده اند جدا کنید.
امضا:
disconnectInternal(setParent?: boolean): void;
پارامترها
پارامتر | تایپ کنید | توضیحات |
---|
setParent | بولی | (اختیاری) اینکه آیا والد بلوک قطع شده تنظیم شود یا نه، به طور پیش فرض روی true است. اگر والد را تنظیم نکردهاید، مطمئن شوید که اقدام بعدی انجام میشود، در غیر این صورت نما و مدل هماهنگ نیستند. |
برمی گرداند:
باطل
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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-24 بهوقت ساعت هماهنگ جهانی."],[],["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"]]