
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
vue-swipe-button
Advanced tools
https://tran2.github.io/vue-swipe-button/
npm install --save vue-swipe-button
Import SwipeButton and its css.
import SwipeButton from 'vue-swipe-button'
import 'vue-swipe-button/dist/swipeButton.css'
Sample usage:
<template>
<div id="app">
<SwipeButton
ref="swipeButton"
class="swipe-button"
@actionConfirmed="onActionConfirmed"
/>
</div>
</template>
<script>
import SwipeButton from 'vue-swipe-button'
import 'vue-swipe-button/dist/swipeButton.css'
export default {
name: 'app',
components: {
SwipeButton
},
methods: {
onActionConfirmed() {
setTimeout(() => {
this.$refs.swipeButton.reset();
}, 1000);
},
},
}
</script>
<style>
.swipe-button {
width: 500px;
background-color: #17255A;
border: 1px solid #17255A;
}
</style>
npm install
npm run serve
npm run build:component
npm run lint
npm run test:unit
npm run build:docs
in docs/index.html
make sure the paths don't have '/' at the beginning
ex: /js/app.js should be js/app.js
FAQs
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
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.