Skip to main content

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.

clearInterval-logo


Clears a previously set interval, stopping the specified repeated action.
clearStore-logo


Clears all stored values, effectively resetting the local storage state.
closeModal-logo


Closes an open Modal widget.
copyToClipboard-logo


Copies text to the clipboard.
download-logo


Downloads a file.
navigateTo-logo


Navigates to a different page or URL.
postWindowMessage-logo


Posts a message to another window.
removeValue-logo


Removes a stored value.
resetWidget-logo


Resets a widget to its default state.
setInterval-logo


Sets a recurring interval.
showAlert-logo


Shows an alert message.
showModal-logo


Shows a modal.
storeValue-logo


Stores a value locally.
unlistenWindowMessage-logo


Removes a message listener from another window.
windowMessageListener-logo


Listens for messages from another window.