Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

react blur background

Installation:
npm install react-blur --save

Usage:
import Blur from "react-blur";

Example:
<Blur img="/directory/img.jpg" blurRadius={5} enableStyles>
  The content.
</Blur>



Props:
img: The image path.

blurRadius: Optional. The size of the blur radius.

enableStyles: Optional. Flag to include base styles inline, omit this to easily override.

shouldResize: Optional. If the canvas should re-render on resize? Defaults to true.

resizeInterval: Optional. How fast the canvas should re-render on resize? Defaults to 128ms.
Comment

PREVIOUS NEXT
Code Example
Javascript :: how to use axios get 
Javascript :: how to return a factorial in javascript 
Javascript :: socket.io how do i get a list of connected sockets clients 
Javascript :: Converting string to json object 
Javascript :: how to submit form on changed url in function in jquery 
Javascript :: vanilla javascript change background color 
Javascript :: js class exists 
Javascript :: return all elements of javascript array except the first item 
Javascript :: nodemailer, mailer, nodemailer npm 
Javascript :: detect click outside react component 
Javascript :: select selected option value jquery 
Javascript :: jquery option not disabled 
Javascript :: nodejs fs create file if not exists 
Javascript :: use setstate in function component 
Javascript :: dropify use 
Javascript :: ISS proxy express 
Javascript :: react native float upto 2 digits 
Javascript :: require statement not part of import statement 
Javascript :: hello world in html using javascript 
Javascript :: change focus to next field jquery after enter 
Javascript :: node js and react js difference 
Javascript :: javascript check if object is null or empty 
Javascript :: getmilliseconds javascript 
Javascript :: strpos in javascript 
Javascript :: check type of variable in javascript 
Javascript :: change property in array of objects javascript 
Javascript :: format javascript date 
Javascript :: includes method javascript 
Javascript :: mongodb add key value to all documents 
Javascript :: short string javascript 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =