Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9212

Re: Define Global Variables in UI5 JS files?

$
0
0

Hi Aakash,

 

this.aControls

(defined in the init method) is like an instance variable in a class in Java. window.aControls would be a global variable which is accessible everywhere.

There are some tricky things about the scope of variables in JS, so it would be best to do some reading...

 

Regards

Andreas


Viewing all articles
Browse latest Browse all 9212

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>