Firstly, nice little library!
I'd like to define my own settings to modify the ripple. If you don't want users to use a constructor/call a factory, then perhaps use data-* attributes on the element you specify the rippleJS class name.
The main settings I'd like is
- duration
- ability to bind the event directly to the element. The problem with using event delegation is that sometimes you have inner elements which are the targets of the
mousedown event but still want to trigger the ripple on the parent, so the ripple won't work.
Firstly, nice little library!
I'd like to define my own settings to modify the ripple. If you don't want users to use a constructor/call a factory, then perhaps use
data-*attributes on the element you specify therippleJSclass name.The main settings I'd like is
mousedownevent but still want to trigger the ripple on the parent, so the ripple won't work.