vue-ripple-directive icon indicating copy to clipboard operation
vue-ripple-directive copied to clipboard

Custom timing-function

Open ChrisRobston opened this issue 6 years ago • 1 comments

Thank you guys for awesome package. All is perfect but I miss the last piece - custom timing function. Is it possible to overwrite it somehow, or may be it's even possible to add it as modifier?

ChrisRobston avatar May 16 '18 13:05 ChrisRobston

You can override the "style.transition" property

https://github.com/PygmySlowLoris/vue-ripple-directive/blob/master/src/ripple.js#L49

in your options passed or globally to your Ripple instance.

Consider that (Ripple.transition) is the transition time.

gangsthub avatar Jun 13 '18 10:06 gangsthub