1.0.3 • Published 3 years ago

@anypoint-web-components/material-ripple v1.0.3

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

<material-ripple>

This is a port of @polymer/paper-ripple to ListElement and ES modules. It also removes Polymer dependencies.

Published on NPM

Testing

Usage

Installation

npm i --save @anypoint-web-components/material-ripple

In an HTML file

<html>
  <head>
    <script type="module">
      import '@anypoint-web-components/material-ripple/material-ripple.js';
    </script>
  </head>
  <body>
    <div style="position: relative">
       <material-ripple>Click me</material-ripple>
    </div>
  </body>
</html>

Development

git clone https://github.com/anypoint-web-components/material-ripple
cd material-ripple
npm install

Running the demo locally

npm start

Running the tests

npm test