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 2023-10-06 UTC."],[[["\u003cp\u003eRegisters a callback function that is triggered when a user selects an item in the ui.Select component.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eonChange()\u003c/code\u003e returns a unique ID that can be used to unregister the callback function using \u003ccode\u003eunlisten()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe callback function receives the currently selected value and the ui.Select widget as arguments.\u003c/p\u003e\n"]]],["`onChange` registers a callback function that triggers upon item selection. This function receives the selected value and the `ui.Select` instance as arguments. The method returns a unique string ID. This ID is crucial for later removing the callback using the `unlisten()` function. The `ui.Select` instance is accessible within the callback through the 'this' keyword.\n"],null,["\u003cbr /\u003e\n\nRegisters a callback that's fired when an item is selected.\n\n\u003cbr /\u003e\n\nReturns an ID which can be passed to unlisten() to unregister the callback.\n\n| Usage | Returns |\n|-----------------------------|---------|\n| Select.onChange`(callback)` | String |\n\n| Argument | Type | Details |\n|-------------------|-----------|---------------------------------------------------------------------------------------------------------------------------|\n| this: `ui.select` | ui.Select | The ui.Select instance. |\n| `callback` | Function | The callback to fire when an item is selected. The callback is passed the currently selected value and the select widget. |"]]