An open API service indexing awesome lists of open source software.

https://github.com/cryptoalgorithm/ripple

Call new Ripple(elem) to add a ripple effect on click for elem. Can be any elem that accepts mouse events. These ripples are inspired by the ripples in the React Material-UI library, but shares no code.
https://github.com/cryptoalgorithm/ripple

Last synced: 3 months ago
JSON representation

Call new Ripple(elem) to add a ripple effect on click for elem. Can be any elem that accepts mouse events. These ripples are inspired by the ripples in the React Material-UI library, but shares no code.

Awesome Lists containing this project

README

        

# ripple

> Material design ripples for your buttons, inspired by those in the React Material-UI library. Built in pure JavaScript with no deps.

## Usage
Call `new Ripple(elem)` to attach an instance to `elem`, which can be any clickable element in the DOM.

## Demo
A little demo of the various possible use cases is available [on CodePen](https://codepen.io/cryptoalgorithm/pen/oNZeNeq).
Check it out to learn more about what can be achieved with this tiny library!