rippleTransform
Commons
stable
Apply a CSS transform string to a ripple-enabled element, setting both the standard and WebKit-prefixed properties simultaneously.
API
Signature
Signature TypeScript complète, extraite du fichier util.
API
Paramètres
Paramètres d'entrée acceptés par cet util.
- elrequisIRippleHtmlElement
- The DOM element that hosts the ripple. It must carry the _ripple metadata object.
- valuerequisstring
- The full CSS transform string to apply, e.g. "scale(2) translate(0, 0)".
API
Valeur de retour
La valeur retournée par cet util.
- No return value. Mutates el.style.transform and el.style.webkitTransform.
Usage
Exemples
Extraits de code prêts à coller.
Scale a ripple element