با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
blockly > IDragTarget > onDragEnter
متد IDragTarget.onDragEnter().
زمانی که مکان نما با بلوک یا حباب وارد این هدف کشیدن می شود، کنترل می کند.
امضا:
onDragEnter(dragElement: IDraggable): void;
پارامترها
پارامتر | تایپ کنید | توضیحات |
---|
dragElement | قابل کشش | بلوک یا حباب در حال حاضر در حال کشیدن است. |
برمیگرداند:
باطل
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز 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 `onDragEnter` method, part of the `IDragTarget` interface, manages the event when a dragged element (either a block or bubble) enters the target area. It accepts a single parameter, `dragElement`, which is an `IDraggable` object representing the item being dragged. This method's core action is handling the entry, and it does not return any value, as indicated by the `void` return type.\n"]]