blockly > WorkspaceSvg > removeTopBlock
متد WorkspaceSvg.removeTopBlock().
یک بلوک را از لیست بلوک های برتر حذف می کند.
امضا:
removeTopBlock(block: Block): void;
پارامترها
پارامتر | تایپ کنید | توضیحات |
---|
مسدود کردن | مسدود کردن | مسدود کردن برای حذف. |
برمی گرداند:
باطل
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-11-10 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-11-10 بهوقت ساعت هماهنگ جهانی."],[[["The `removeTopBlock` method is part of the `WorkspaceSvg` class in Blockly and is used to manage the top-level blocks in the workspace."],["It takes a single parameter, `block`, which is an instance of the `Block` class and represents the block to be removed from the top-level list."],["This method does not return any value and is primarily used for maintaining the internal structure of the workspace by removing blocks from its top-level list."]]],[]]