Global Functions
Global functions in Appsmith enable you to trigger various actions for widget events and within JS Objects. These functions allow you to navigate to other pages, display alert messages, open or close modals, and manage data in local storage, among other capabilities.
Browse this section to learn about the different actions you can trigger on Appsmith.
Clears a previously set interval, stopping the specified repeated action.
Clears all stored values, effectively resetting the local storage state.
Closes an open Modal widget.
Copies the given text to the clipboard, making it available for pasting.
Downloads the file data provided, with an optional file name and type.
Navigates to a different page or URL, either within the Appsmith app or externally.
Posts a message to another window, facilitating communication between multiple windows.
Removes a stored value, clearing it from local storage or session storage.
Resets a widget to its default state, clearing any set values or changes.
Sets a recurring interval, executing a function repeatedly at the specified time intervals.
Shows an alert message, displaying a brief notification to the user.
Displays a modal dialog with content, allowing users to interact with additional information.
Stores a value locally, allowing you to use it in other parts of your app or across sessions.
Removes a message listener from another window, stopping the reception of posted messages.
Listens for messages posted from another window, allowing communication across windows.