ui.Map.Linker.forEach
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הפונקציה מבצעת איטרציה על כל רכיב ומפעילה את פונקציית הקריאה החוזרת שצוינה. הקריאה החוזרת מתבצעת לכל רכיב באופן הבא: callback(element, index).
שימוש | החזרות |
---|
Linker.forEach(callback) | |
ארגומנט | סוג | פרטים |
---|
זה: ui.data.activelist | ui.data.ActiveList | המופע ui.data.ActiveList. |
callback | פונקציה | |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eThe \u003ccode\u003eforEach\u003c/code\u003e method iterates through each element of a \u003ccode\u003eui.data.ActiveList\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eFor each element, it executes a provided callback function with the element and its index as arguments.\u003c/p\u003e\n"],["\u003cp\u003eThe method is invoked on a \u003ccode\u003eui.data.ActiveList\u003c/code\u003e instance (referred to as 'this' in the context of the callback).\u003c/p\u003e\n"],["\u003cp\u003eIt does not return any specific value (indicated by the empty 'Returns' column).\u003c/p\u003e\n"]]],["The `forEach` method iterates through each element in a `ui.data.ActiveList` instance. For every element, it executes a provided callback function. This callback receives two arguments: the current element and its index. No value is returned by `forEach`. The method requires a callback function as its argument and operates on the `ui.data.ActiveList` instance.\n"],null,["# ui.Map.Linker.forEach\n\n\u003cbr /\u003e\n\nIterates over each element, calling the provided callback. The callback is called for each element like: callback(element, index).\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------|---------|\n| Linker.forEach`(callback)` | |\n\n| Argument | Type | Details |\n|----------------------------|--------------------|----------------------------------|\n| this: `ui.data.activelist` | ui.data.ActiveList | The ui.data.ActiveList instance. |\n| `callback` | Function | |"]]