Blur.js icon indicating copy to clipboard operation
Blur.js copied to clipboard

More Methods

Open emcniece opened this issue 12 years ago • 3 comments

I am finding that attempting to blur multiple images in direct succession (like in a jQuery.each() function) results in the first image failing. Since this is the case, it would be very useful to have an onFinished() method for the plugin to provide some form of notification as to when it is ok to blur another image. Any thoughts?

emcniece avatar Feb 20 '13 16:02 emcniece

I'd like to use multiple blurred images as well, for example in my portfolio.

danielbenjamins avatar Jul 10 '13 08:07 danielbenjamins

No word on this? It's been almost a year and a half…

andrewlphilpott avatar Jun 24 '14 13:06 andrewlphilpott

For those who looking for onFinished() method, you can use jquery deferreds. For example by adding options.callback() in blur.js, you can then call this method when you blurring image and make .resolve() for your defferd object. screenshot 2015-02-09 22 32 37 screenshot 2015-02-09 22 33 29

Nodman avatar Feb 09 '15 20:02 Nodman