Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-08 UTC."],[[["\u003cp\u003e\u003ccode\u003eActiveList.reset()\u003c/code\u003e replaces all existing elements in an ActiveList instance with a new list of elements provided or removes all elements if no list is provided.\u003c/p\u003e\n"],["\u003cp\u003eThe method returns the current elements within the ActiveList instance after performing the reset operation.\u003c/p\u003e\n"],["\u003cp\u003eIt accepts an optional \u003ccode\u003elist\u003c/code\u003e argument that can be any type of List and uses it to populate the ActiveList.\u003c/p\u003e\n"],["\u003cp\u003eThe method is called on an instance of \u003ccode\u003eui.data.activelist\u003c/code\u003e, denoted as 'this' in the argument table.\u003c/p\u003e\n"]]],["The `ActiveList.reset()` method modifies an `ActiveList` instance. It either replaces all existing elements with a provided list or, if no list is given, removes all elements. The method returns the updated list after this replacement or removal. It accepts an optional `list` argument, which should be a list of elements. The target instance for this method is a `ui.data.ActiveList` object.\n"],null,["\u003cbr /\u003e\n\nReplaces all elements in list with a new list or, if no list is provided, removes all elements from list.\n\n\u003cbr /\u003e\n\nReturns the elements in the list after the reset is applied.\n\n| Usage | Returns |\n|------------------------------|----------------|\n| ActiveList.reset`(`*list*`)` | List\\\u003cObject\\\u003e |\n\n| Argument | Type | Details |\n|----------------------------|--------------------------|----------------------------------|\n| this: `ui.data.activelist` | ui.data.ActiveList | The ui.data.ActiveList instance. |\n| `list` | List\\\u003cObject\\\u003e, optional | A list of elements. |"]]