Does this work for Nativescript+Vue?
mashinokatsumi opened this issue · 4 comments
mashinokatsumi commented
Does this work for Nativescript+Vue?
elie-g commented
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. 😉
edusperoni commented
If anyone wants to add vue integration I'll gadly merge the PR
zamblas commented
<Label ripple text="my label text" (tap)="tapfn()"></Label>
Can this be done on Vue?