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

add loadingText() for long requests #3

Closed
dillingham opened this issue Jan 12, 2019 · 1 comment
Closed

add loadingText() for long requests #3

dillingham opened this issue Jan 12, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@dillingham
Copy link
Owner

dillingham commented Jan 12, 2019

If your listener takes awhile to execute, the button doesn't give much indication currently.

I think it would be nice to add Button::make('Notify')->loadingText('Notifying..')

And with ->reload() it might be smart to setTimeout 200ms to avoid flashing text for quick listeners

@dillingham dillingham added the enhancement New feature or request label Jan 12, 2019
@dillingham
Copy link
Owner Author

added in 1.0

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

No branches or pull requests

1 participant