סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
blockly > bumpObjects > bumpIntoBoundsHandler
הפונקציה bumpObjects.bumpIntoBoundsHandler()
יוצרת handler של הצמדה של אובייקטים כשהם חוצים גבולות קבועים.
Signature:
export declare function bumpIntoBoundsHandler(workspace: WorkspaceSvg): (p1: Abstract) => void;
פרמטרים
פרמטר |
סוג |
תיאור |
סביבת עבודה |
WorkspaceSvg |
סביבת העבודה לטפל בה. |
החזרות:
(p1: מופשט) => ריק
הגורם המטפל באירוע.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-10-15 (שעון UTC).
[null,null,["עדכון אחרון: 2024-10-15 (שעון UTC)."],[[["The `bumpObjects.bumpIntoBoundsHandler()` function generates an event handler that manages the behavior of objects colliding with the workspace boundaries."],["This function accepts the workspace as input and returns a handler function specifically designed for the `bumpIntoBounds` event."],["The returned handler function takes an `Abstract` event as input, typically triggered when an object interacts with the workspace bounds."]]],[]]