ui.Map.Linker.remove
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
นำองค์ประกอบที่ระบุออกจากรายการ
แสดงผลองค์ประกอบที่นำออกหรือ Null หากองค์ประกอบไม่ได้อยู่ในรายการ
การใช้งาน | การคืนสินค้า |
---|
Linker.remove(el) | วัตถุ |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ ui.data.activelist | ui.data.ActiveList | อินสแตนซ์ ui.data.ActiveList |
el | วัตถุ | องค์ประกอบที่จะนำออก |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eThe \u003ccode\u003eremove()\u003c/code\u003e method eliminates a specific element from a ui.data.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 called on a ui.data.ActiveList instance and requires the target element as an argument.\u003c/p\u003e\n"]]],["The function `remove(el)` removes a specified element (`el`) from a `ui.data.ActiveList`. It returns the removed element as an Object if it was present within the list; otherwise, it returns `null`. The function operates on an instance of `ui.data.ActiveList`, denoted as `this: ui.data.activelist`. The argument `el` is the Object that is intended to be removed from the list.\n"],null,["# ui.Map.Linker.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| Linker.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. |"]]