Skip to content

Commit

Permalink
feat(ripple): ability to disable ripple effect w/ querystring
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Sep 20, 2018
1 parent 3d3e6a4 commit efca0ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/components/ripple-effect/ripple-effect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ export class RippleEffect implements ComponentInterface {
*/
@Method()
addRipple(pageX: number, pageY: number) {
rIC(() => this.prepareRipple(pageX, pageY));
if (!location.search.includes('ionic:animate=false')) {

This comment has been minimized.

Copy link
@manucorporat

manucorporat Sep 22, 2018

Contributor

we should use config.getBoolean('animate')

rIC(() => this.prepareRipple(pageX, pageY));
}
}

private prepareRipple(pageX: number, pageY: number) {
Expand Down

0 comments on commit efca0ae

Please sign in to comment.