nette.ajax.js is it possible to open spinner without ajax request?

mcmatak
Member | 485
+
0
-
$.nette.ext('spinner')

returns the spinner extension, but method “start” is inner methods and is not possible to call them on the object

how to fire nette.ajax event without sending ajax req.?

CZechBoY
Member | 3585
+
0
-

Why do you need that? Maybe you can try to start ajax and then stop it immediately.

Pavel Kravčík
Member | 995
+
0
-

Maybe silly idea… but Asgards would love it…

	$("#spinner-selector").setStyle("visible");
mcmatak
Member | 485
+
0
-

thats not the same, but finally i looked up in the code of nette.ajax.js and this behavior is not possible, so i decided to bypass the functions of extension and create spinner object outside of the extension