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

about a year ago

mcmatak
Member | 492
+
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.?

about a year ago

CZechBoY
Member | 3095
+
0
-

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

about a year ago

Pavel Kravčík
Member | 913
+
0
-

Maybe silly idea… but Asgards would love it…

$("#spinner-selector").setStyle("visible");

about a year ago

mcmatak
Member | 492
+
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