fgnass / spin.js

A spinning activity indicator
http://spin.js.org
MIT License
9.3k stars 1.02k forks source link

Disabling Background #254

Closed serjooo closed 6 years ago

serjooo commented 10 years ago

Hello, I would like to ask if there is anyway I can make the spinner load like a modal and disable everything in the background? Thank you for your time.

ermalmino commented 9 years ago

I'd like this feature too, semitransparent background that covers the parent element of the spinner. Thank you.

dhoeric commented 9 years ago

Instead of adding a feature on the package, this example may helps you. http://jsfiddle.net/fgnass/EKWbw/

TimothyGu commented 9 years ago

spin.js generates a spinner. I think that while a modal would be helpful, it should not be in the core. I'll try to make an example that will be checked into the repo, for this feature.

code-smith commented 8 years ago

a much better and practical use case

jegjessing commented 8 years ago

Hmm no updates on this? I really would like this feature

vikyd commented 7 years ago

+1

theodorejb commented 6 years ago

I agree that this would be a handy feature, but it shouldn't be part of the core library. Feel free to implement your own wrapper library offering this functionality.