Skip to content

Commit

Permalink
clarified documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Moritz committed Mar 5, 2018
1 parent 3538cdf commit 587d24b
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,13 +371,7 @@ The following will target all links:

#### jQuery Method:

You can also call it via jQuery like `$('.your-selector').saRipple();`, and of course you can pass arguments with it as well:

$('.your-selector').saRipple({
color: "rgba(0,255,0,0.7)",
interaction: "mouseover",
noclass: true
});
You can also call it via jQuery like `$('.your-selector').saRipple();`

#### <a name="saRippleAdvanced"></a>Advanced SETUP:

Expand All @@ -401,6 +395,14 @@ Finally, you can combile all the arments and may end up with something like this
noclass: true
});

#### jQuery Advanced Method:

$('.your-selector').saRipple({
color: "rgba(0,255,0,0.7)",
interaction: "mouseover",
noclass: true
});

*note:* You can currently _not_ call this advanced setup via this init() method.


Expand Down

0 comments on commit 587d24b

Please sign in to comment.