סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
blockly > Flyout > setContents
שיטת Flyout.setContents()
אחסון רשימת הלחצנים והבלוקים בתנועה הנמשכת.
Signature:
setContents(contents: FlyoutItem[]): void;
פרמטרים
פרמטר |
סוג |
תיאור |
contents |
FlyoutItem[] |
מערך הפריטים של הישות המרחף. |
החזרות:
ריק
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-09-12 (שעון UTC).
[null,null,["עדכון אחרון: 2024-09-12 (שעון UTC)."],[[["The `setContents` method populates the Blockly flyout with a specified array of items, which can be either buttons or blocks."],["This method accepts an array of `FlyoutItem` objects as its input and does not return any value."],["The `contents` parameter represents the array of items to be displayed within the flyout."]]],[]]