ui.util.clearTimeout
Clears a timeout set via ui.util.setTimeout or ui.util.setInterval.
Usage | Returns |
---|
ui.util.clearTimeout(timeoutKey) | |
Argument | Type | Details |
---|
timeoutKey | Number | The key to the timeout or interval to clear. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["`ui.util.clearTimeout` is used to cancel a timeout or interval previously set by `ui.util.setTimeout` or `ui.util.setInterval`."],["It accepts a single argument, `timeoutKey`, which is a number representing the unique identifier of the timeout or interval to be cleared."],["Calling this function stops the execution of the delayed function associated with the given `timeoutKey`."]]],[]]