סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
blockly > blockRendering > RenderInfo > shouldStartNewRow_
שיטת blockRendering.RenderInfo.תפקידStartNewRow_()
עליכם להחליט אם להתחיל שורה חדשה בין שני ה-Blockly.Inputs.
Signature:
protected shouldStartNewRow_(currInput: Input, prevInput?: Input): boolean;
פרמטרים
פרמטר |
סוג |
תיאור |
currInput |
קלט |
הקלט הנוכחי. |
prevInput |
קלט |
(אופציונלי) הקלט הקודם. |
החזרות:
בוליאני
הערך הוא True אם צריך לעבד את הקלט הנוכחי בשורה חדשה.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-21 (שעון UTC).
[null,null,["עדכון אחרון: 2024-08-21 (שעון UTC)."],[[["The `blockRendering.RenderInfo.shouldStartNewRow_()` method determines if a new row should begin between two Blockly.Inputs during rendering."],["It considers the current input and optionally the previous input to make this decision."],["The method returns `true` if the current input needs to be placed on a new row, aiding in visually organizing blocks."]]],[]]