公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
ui.SplitPanel.unlisten
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
刪除回呼。
用量 | 傳回 |
---|
SplitPanel.unlisten(idOrType) | |
引數 | 類型 | 詳細資料 |
---|
這個:ui.widget | ui.Widget | ui.Widget 執行個體。 |
idOrType | 字串 (選用) | 可以是回呼註冊期間 onEventType() 函式傳回的 ID、事件類型,或空白。如果傳遞 ID,系統會刪除對應的回呼。如果傳遞事件類型,系統會刪除該類型的所有回呼。如果未傳遞任何內容,系統會刪除所有回呼。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eThe \u003ccode\u003eSplitPanel.unlisten()\u003c/code\u003e method removes registered callbacks, allowing you to control event handling.\u003c/p\u003e\n"],["\u003cp\u003eYou can target specific callbacks for deletion using their unique ID or remove all callbacks associated with an event type.\u003c/p\u003e\n"],["\u003cp\u003eCalling \u003ccode\u003eunlisten()\u003c/code\u003e without any arguments will remove all registered callbacks from the SplitPanel instance.\u003c/p\u003e\n"]]],["The `SplitPanel.unlisten()` function deletes callbacks associated with a `ui.Widget`. It accepts an optional string argument, `idOrType`. If an ID is provided, the specific callback with that ID is removed. If an event type is provided, all callbacks for that type are deleted. With no argument, all registered callbacks on the `ui.Widget` instance are removed. There are no returned values.\n"],null,["# ui.SplitPanel.unlisten\n\n\u003cbr /\u003e\n\nDeletes callbacks.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------------|---------|\n| SplitPanel.unlisten`(`*idOrType*`)` | |\n\n| Argument | Type | Details |\n|-------------------|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `ui.widget` | ui.Widget | The ui.Widget instance. |\n| `idOrType` | String, optional | Either an ID returned by an onEventType() function during callback registration, an event type, or nothing. If an ID is passed, the corresponding callback is deleted. If an event type is passed, all callbacks for that type are deleted. If nothing is passed, all callbacks are deleted. |"]]