Closed nalysius closed 7 years ago
Thanks for making a PR for this issue. This could also be done in the initialized
callback, given that and since I'd like to keep this as lightweight as possible and I won't merge this, but this is a good way to solve this!
In a personal project I would use image-picker with lot of picture, so much that my Web browser frozen every time. The browser tried to load too much pictures at the same time.
This commit adds an option in the constructor, named _timeinterval (set to 0 by default), that set a timer between loading of two pictures. Thanks to that, I can load lot of pictures without any problem. Note that .coffee file is not updated !
To test it, just create a little HTML file and put lot of pictures, they will load progressively.