Sha256: f9f354af60bfd1d9f6ea9bf442dbd0537befd36dd86b3b870387732eb2a532fa

Contents?: true

Size: 498 Bytes

Versions: 5

Compression:

Stored size: 498 Bytes

Contents

import {MDCRipple} from '@material/ripple';

const buttons = document.querySelectorAll('.mdc-button');
const listItems = document.querySelectorAll('.mdc-list-item');
const iconButtons = document.querySelectorAll('.mdc-icon-button');

for (var b = 0; b < buttons.length; b++) {
  new MDCRipple.attachTo(buttons[b]);
}

for (var l = 0; l < listItems.length; l++) {
  new MDCRipple.attachTo(listItems[l]);
}

for (var i = 0; i < iconButtons.length; i++) {
  new MDCRipple.attachTo(iconButtons[i]);
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
simplecov-material-1.0.0 dist/scripts/ripple.js
simplecov-material-0.5.0 dist/scripts/ripple.js
simplecov-material-0.4.0 dist/scripts/ripple.js
simplecov-material-0.3.0 dist/scripts/ripple.js
simplecov-material-0.2.0 dist/scripts/ripple.js