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.
↧