nativescript-ripple icon indicating copy to clipboard operation
nativescript-ripple copied to clipboard

Does this work for Nativescript+Vue?

Open mashinokatsumi opened this issue 5 years ago • 4 comments

mashinokatsumi avatar Apr 30 '19 20:04 mashinokatsumi

I found how to use it with NativeScript-Vue. Just add the following to your main.js file:

import Vue from 'nativescript-vue'

Vue.registerElement('Rippler', () => require('nativescript-ripple').Ripple);

My webstorm still complains about the type of rippleColor property but it works anyway. Let me know if anyone knows how to solve this. :wink:

elie-g avatar May 25 '19 03:05 elie-g

If anyone wants to add vue integration I'll gadly merge the PR

edusperoni avatar Sep 27 '20 01:09 edusperoni

<Label ripple text="my label text" (tap)="tapfn()"></Label>

Can this be done on Vue?

zamblas avatar Jan 29 '21 15:01 zamblas

Hello. The method described by @elie-g works. Please add it to the description. It seems that this will be enough.

SlavMAK avatar Jun 22 '22 16:06 SlavMAK