Wraps your booleans only returning true after the delay, and for a minimum time of minDuration. This way you're sure that you don't show unnecessary or very short living spinners.
delay
minDuration
[500]
[200]
smeijer/spin-delay
Wraps your booleans only returning true after the
delay, and for a minimum time ofminDuration. This way you're sure that you don't show unnecessary or very short living spinners.