סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
blockly > ארגז כלים > shouldDeselectItem_
המדיניות הזו קובעת אם צריך לבטל את הבחירה בפריט הישן.
Signature:
protected shouldDeselectItem_(oldItem: ISelectableToolboxItem | null, newItem: ISelectableToolboxItem | null): boolean;
פרמטרים
החזרות:
בוליאני
הערך הוא True אם צריך לבטל את הבחירה בפריט הישן. אחרת, הערך false.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-22 (שעון UTC).
[null,null,["עדכון אחרון: 2024-08-22 (שעון UTC)."],[[["The `Toolbox.shouldDeselectItem_()` method determines if the currently selected toolbox item should be deselected when a new item is selected."],["It takes the previously and newly selected toolbox items as input, both of type `ISelectableToolboxItem` or null."],["The method returns `true` if the old item should be deselected, otherwise it returns `false`."]]],[]]