با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
blockly > Block > decompose
ویژگی Block.decompose
یک تابع اختیاری که فلایآوت جهشیافته را با بلوکهایی پر میکند که پیکربندی این بلوک را نشان میدهند.
امضا:
decompose?: (workspace: Workspace) => Block;
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز 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 بهوقت ساعت هماهنگ جهانی."],[[["`Block.decompose` is an optional function that can be defined for a block."],["If defined, it is used to populate a mutator's dialog with the block's internal components, allowing users to modify the block's structure."],["It receives the workspace as input and is expected to return a block that will be displayed within the mutator's dialog."]]],["The `Block.decompose` property is an optional function within the Blockly framework. Its purpose is to populate a mutator's dialog with the block's components. This function takes a `Workspace` as input and returns a `Block`. It is used to define how a block can be broken down or modified within the mutator interface.\n"]]