Touch Event Issue
lim-enhui opened this issue · 3 comments
lim-enhui commented
lim-enhui commented
recommending use v-hammer:tap and v-hammer:pan to remove complication https://github.com/bsdfzzzy/vue2-hammer
lim-enhui commented
i did attempt to try modify the code but i am confused with how the emit is used and passed from svgRenderer to vue-d3-network then to the component that resides @node-click="nodeClick".. I will looking at some point of time later but now i will have to use an event bus to pipe the event when tap.
Notable: v-hammer:tap="onTap" . at the methods onTap(e) { console.log(e) } if you are going to edit some parts of the code.
emiliorizzo commented
Thanks for your report and suggestions.
Please reopen the issue if you need.
👍