docs(ripple-effect): add correct Material Design link

This commit is contained in:
Augusto Destrero
2022-02-01 16:05:40 +01:00
committed by GitHub
parent 43aa6c11f4
commit 6d4a07d05c

View File

@ -1,6 +1,6 @@
# ion-ripple-effect
The ripple effect component adds the [Material Design ink ripple interaction effect](https://material.io/develop/web/components/ripples/). This component can only be used inside of an `<ion-app>` and can be added to any component.
The ripple effect component adds the [Material Design ink ripple interaction effect](https://material.io/develop/web/supporting/ripple). This component can only be used inside of an `<ion-app>` and can be added to any component.
It's important to note that the parent should have [relative positioning](https://developer.mozilla.org/en-US/docs/Web/CSS/position) because the ripple effect is absolutely positioned and will cover the closest parent with relative positioning. The parent element should also be given the `ion-activatable` class, which tells the ripple effect that the element is clickable.