Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use Bootstrap Ajax spinner for load contents? #66

Open
behnamyazdan opened this issue May 9, 2014 · 1 comment
Open

how to use Bootstrap Ajax spinner for load contents? #66

behnamyazdan opened this issue May 9, 2014 · 1 comment

Comments

@behnamyazdan
Copy link

hi,
i use bootstrap ajax in a project. now i need to use spinner for waiting user to load contents but i can't use this, please help me an send an example about this

thanks

@bgilhome
Copy link

A simple way would be to set the CSS cursor property to 'progress':
$(document).on("eldarion-ajax:begin", function(evt, $el) {
$("body").css("cursor", "progress");
});
$(document).on("eldarion-ajax:complete", function(evt, $el) {
$("body").css("cursor", "pointer");
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants