ui.Map.Linker.forEach
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Wiederholt jedes Element und ruft den bereitgestellten Callback auf. Das Callback wird für jedes Element in der Form aufgerufen: callback(element, index).
Nutzung | Ausgabe |
---|
Linker.forEach(callback) | |
Argument | Typ | Details |
---|
So gehts: ui.data.activelist | ui.data.ActiveList | Die ui.data.ActiveList-Instanz. |
callback | Funktion | |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 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 | |"]]