ui.data.ActiveList.remove
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Usuwa z listy określony element.
Zwraca usunięty element lub wartość null, jeśli elementu nie było na liście.
Wykorzystanie | Zwroty |
---|
ActiveList.remove(el) | Obiekt |
Argument | Typ | Szczegóły |
---|
to: ui.data.activelist | ui.data.ActiveList | Instancja ui.data.ActiveList. |
el | Obiekt | Element do usunięcia. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eremove()\u003c/code\u003e method eliminates a specific element from an ActiveList.\u003c/p\u003e\n"],["\u003cp\u003eIt returns the removed element, or null if the element wasn't found in the list.\u003c/p\u003e\n"],["\u003cp\u003eThis method is used within a ui.data.ActiveList instance and requires the element to be removed as an argument.\u003c/p\u003e\n"]]],[],null,["# ui.data.ActiveList.remove\n\n\u003cbr /\u003e\n\nRemoves the specified element from the list.\n\n\u003cbr /\u003e\n\nReturns the removed element or null if the element was not present in the list.\n\n| Usage | Returns |\n|-------------------------|---------|\n| ActiveList.remove`(el)` | Object |\n\n| Argument | Type | Details |\n|----------------------------|--------------------|----------------------------------|\n| this: `ui.data.activelist` | ui.data.ActiveList | The ui.data.ActiveList instance. |\n| `el` | Object | The element to remove. |"]]