Skip to content

Add ability to define settings #5

@atomiks

Description

@atomiks

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions