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

Request events should also get called on the Client object too #17

Open
matryer opened this issue Sep 28, 2013 · 1 comment
Open

Request events should also get called on the Client object too #17

matryer opened this issue Sep 28, 2013 · 1 comment

Comments

@matryer
Copy link
Member

matryer commented Sep 28, 2013

Use case:

As a developer
I want to add a 'loading' animated gif to the page whenever Stretchr is doing some work
So that I can inform the users of activity, and ask them to wait

Ideally, like this:

stretchr.before(function(){
  $("#busy").show();
});
stretchr.after(function(){
  $("#busy").hide();
});

Where #busy could be a div that fills the screen and has a "Please wait..." message on it.

At the moment, request events don't get called on the Stretchr.Client.

@mazondo
Copy link
Contributor

mazondo commented Jan 31, 2014

This is pretty cool. Probably not super high on the priorities but definitely a nice to have

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

No branches or pull requests

2 participants