با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
blockly > نظرات > WorkspaceComment > setEditable
تنظیم می کند که نظر قابل ویرایش باشد یا نه.
امضا:
setEditable(editable: boolean): void;
پارامترها
پارامتر | تایپ کنید | توضیحات |
---|
قابل ویرایش | بولی | |
برمیگرداند:
باطل
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز 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 `setEditable` method controls whether a WorkspaceComment can be edited or not."],["It takes a single boolean parameter, `editable`, to enable or disable editing."],["Calling `setEditable` with `true` makes the comment editable, while `false` makes it read-only."]]],["The `setEditable()` method, part of the `WorkspaceComment` class, controls the editability of a comment. It accepts a single boolean parameter, `editable`, which determines whether the comment can be modified. When called, it updates the comment's editable state accordingly. The method does not return any value.\n"]]