با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
blockly > جعبه ابزار > رندر
جعبه ابزار را با آیتم های جعبه ابزار جدید پر می کند و هر محتوای قدیمی را حذف می کند.
امضا:
render(toolboxDef: ToolboxInfo): void;
پارامترها
پارامتر | تایپ کنید | توضیحات |
---|
toolboxDef | جعبه ابزار | شیء دارای اطلاعات برای ایجاد جعبه ابزار. |
برمی گرداند:
باطل
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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 بهوقت ساعت هماهنگ جهانی."],[[["The `render()` method populates the toolbox with new items based on provided information and clears any existing content."],["It accepts a single argument, `toolboxDef`, which is a `ToolboxInfo` object containing the structure and details for the new toolbox."],["The method does not return any value (void) and is primarily responsible for visually updating the toolbox."]]],["The `IToolbox.render()` method updates the toolbox's content. It accepts a `ToolboxInfo` object, which contains the data needed to construct the toolbox. The method then replaces the existing toolbox items with new ones, based on the provided `ToolboxInfo`. It does not return any value. The primary action is updating and populating the toolbox with new items, effectively rebuilding it with new information.\n"]]