
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
A full-featured gesture component designed for Vue
This module is still working in progress right now, so it is just for placeholder.
Now, you can try to use v-touch in your project!
A deadly simply example:
If you are also working with vue-touch, you can use Vue.use(VTouch, {name: 'move'}) (or something else), so that the directive name will change to v-move!
new Vue({
el: '#app',
template: `<div class="container">
tap: {{ tapNum }},<br>
dblTap: {{ dblTapNum }},<br>
mltTap: {{ mltTapNum }}, lastMltTapped: {{ lastMltTapped }}<br>
press: {{ pressNum }},<br>
swipeLeft: {{ swipeLeftNum }},<br>
swipeRight: {{ swipeRightNum }},<br>
swipeUp: {{ swipeUpNum }},<br>
swipeDown: {{ swipeDownNum }}
<br>
<div v-touch="touch" @dblclick="dblclickOuter">
<button class="my-btn" @tap="click">{{ msg }}</button>
<div @dblclick="dblclick">
<button class="my-btn">Just Another Button</button>
</div>
</div>
<br>
<br>
<button class="btn btn-default" @click="toggle('x')">toggle x ({{ x }})</button>
<button class="btn btn-default" @click="toggle('y')">toggle y ({{ y }})</button>
</div>`,
data() {
return {
msg: 'try to touch, move, swipe, press me!',
x: false,
y: false,
tapNum: 0,
dblTapNum: 0,
mltTapNum: 0,
lastMltTapped: 0,
pressNum: 0,
swipeLeftNum: 0,
swipeRightNum: 0,
swipeUpNum: 0,
swipeDownNum: 0
}
},
computed: {
touch() {
return {
x: this.x,
y: this.y,
methods: true
}
}
},
methods: {
toggle(prop) {
this[prop] = !this[prop]
},
tap(e) {
this.tapNum++
},
dblTap() {
this.dblTapNum++
},
mltTap({tapped}) {
this.mltTapNum++
this.lastMltTapped = tapped
},
press() {
this.pressNum++
},
swipeLeft() {
this.swipeLeftNum++
},
swipeRight() {
this.swipeRightNum++
},
swipeUp() {
this.swipeUpNum++
},
swipeDown() {
this.swipeDownNum++
},
click() {
console.log('clicked the first button')
},
dblclick() {
console.log('dblclicked the second one')
},
dblclickOuter() {
console.log('dblclicked')
}
}
})
[WIP]
FAQs
A full-featured gesture component designed for Vue
We found that v2-touch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.