Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Question regarding closure / scoping in callback functions

$
0
0

Hi,

 

please could anyone explain why the variables sUsername, oModel, sPath, that are not in scope of my callback function for the createBindingContext call? I would expect them to be available as closure variables.

 

scoping.png


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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