Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Can we detect http requests happening against ClientContext in JSOM?

$
0
0
I am using AngularJS and I have an extention that watches the $http object for requests. This allows me to make a "waiting..." graphic appear if I make REST calls against $http. But I do not like the REST library. I want to use the CSOM / JSOM library. Unfortunately, ClientContext.Load doesn't seem to be monitorable in such a way that I can wire up a "waiting..." graphic whenever a Load is called. Has anyone done this? I would love to trap / monitor some object - the RequestExecutor perhaps? - and have "waiting..." appear automatically as opposed to me making a manual function call to turn on the graphic prior to the Load command and turning it off on success / failure.

Viewing all articles
Browse latest Browse all 7589

Trending Articles



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