با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
blockly > inputs > Input > setShadowDom
بلوک سایه اتصال را تغییر می دهد.
امضا:
setShadowDom(shadow: Element | null): Input;
پارامترها
پارامتر | تایپ کنید | توضیحات |
---|
سایه | عنصر | تهی | نمایش DOM یک بلوک یا تهی. |
برمیگرداند:
ورودی
ورودی در حال تغییر است (برای اجازه دادن به زنجیره).
،
blockly > inputs > Input > setShadowDom
بلوک سایه اتصال را تغییر می دهد.
امضا:
setShadowDom(shadow: Element | null): Input;
پارامترها
پارامتر | تایپ کنید | توضیحات |
---|
سایه | عنصر | تهی | نمایش DOM یک بلوک یا تهی. |
برمیگرداند:
ورودی
ورودی در حال تغییر است (برای اجازه دادن به زنجیره).
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-06 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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-01-06 بهوقت ساعت هماهنگ جهانی."],[[["The `setShadowDom()` method updates an input's shadow block using a provided DOM element or null."],["It accepts a single argument: `shadow`, which represents the DOM structure of the shadow block."],["Upon execution, the method returns the modified input, enabling method chaining for further operations."]]],["The `setShadowDom()` method modifies an input's connection by changing its shadow block. It accepts a single parameter, `shadow`, which is the DOM representation of a block or `null`. This method returns the modified `Input` object, enabling method chaining. The primary action is to set or remove the shadow block associated with the input connection, using the provided DOM element.\n"]]