Wish global javascript functions

Hi, there is a way to create an area where put global javascript function?
regards Paolo

Hi Paolo,

there’s no way to have global javascript functions at the moment.

I think that if we declare a function so
window.autoSave = function() {
// … code …
}
we are able to use it in any app window or component:

using it with

window.autoSave()