1.2.0 • Published 8 years ago

material-ripple-light v1.2.0

Weekly downloads
14
License
ISC
Repository
-
Last release
8 years ago

Material Ripple effect helper

Objective

Built to be as lightweight and reusable as possible, with React in mind; but will work with any framework or vanilla js.

To use in your project

1) Install Ripple

2) Require or import the ripple script import Ripple from 'material-ripple-light' const Ripple = require('material-ripple-light')

3) Add to the component you want to animate <AwesomeComponent onClick={Ripple} />

4) Show off your skills by adding it to a controlled component <ControlledComponent onclick={(e)=>{controlFunc(e), Ripple(e)}}/>

Github

Feel free to contribute to this project on Github.

Run demo

install with $ yarn

run with $ yarn start

This project was bootstrapped with Create React App.

Please or follow me on Twitter

1.2.0

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago