$ npm i blurifyblurify the images with given options:
images{ Element }, blurify target elements.blur{ Int }, extent of blur, defaulting to6.mode{ String }, mode of blurify.css: usefilterproperty.(default)canvas: usecanvasexport base64.auto: usecssmode firstly, otherwise switch tocanvasmode by automatically.
import blurify from 'blurify';
new blurify({
images: document.querySelectorAll('.blurify'),
blur: 6,
mode: 'css',
});- fault-tolerance process
- fixed
toArraybugs
- add
automode
- add
cssmode
- fixed image cross origin issue
- fixed images reference error