Releases: mpalourdio/ng-http-loader
ng-packagr v4
Package this beta with ng-packagr v4.
Cleanup before v3.1.0
3.1.0-beta.2 3.1.0-beta.2
extraDuration option && minDuration bugfix introduced in v3.1.0-beta.0
See CHANGELOG
Better handling of sequential HTTP requests
This beta introduces handling of sequential HTTP requests in combination of the minDuration
option.
If an HTTP request if performed while the spinner is still visible because of the minDuration
option, the timer is not reset anymore.
Min. duration time: 300ms
---0ms--------------------------------------200ms---------280ms----------------------400ms|
----|---------------------------------------------|-----------------|------------------------------------|
(req1 starts and spinner shows) (req1 ends) (req2 starts) (req2 ends and spinner hides)
Before this, minDuration
would have been applied to both HTTP requests.
See #89 for reference.
Replace EMPTY with timer(0)
Trying to fix some flickering issues reported by users when running concurrent HTTP requests
Replace EMPTY with timer(0)
This beta has been unpublished from npmjs because of a build problem.