
Security News
Feross on Risky Business Weekly Podcast: npm’s Ongoing Supply Chain Attacks
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
vue2-legato-dnd
Advanced tools
Vue2 component for [Legato Dnd](https://github.com/LazyLZ/legato-dnd).
Vue2 component for Legato Dnd.
See legato-dnd docs for option and event descriptions.
This library is for Vue 2.x, for Vue 3.x please see here: vue-legato-dnd
<template>
<DragContainer>
<Draggable>Item1</Draggable>
<Draggable>Item1</Draggable>
<Draggable>Item1</Draggable>
</DragContainer>
</template>
<script>
import { DragContainer, Draggable } from 'vue-legato-dnd'
export default {
components: { DragContainer, Draggable }
}
</script>
<template>
<DragContainer
:items="items"
@orderChange="onOrderChange"
>
<Draggable v-for="t in items" :key="t.name">{t.name}</Draggable>
</DragContainer>
</template>
<script>
export default {
data: () => ({
items: [
{ name: 'Alice' },
{ name: 'Bob' },
{ name: 'Candy' },
]
}),
methods: {
onOrderChange ({ order }) {
this.items = order.map(i => this.items[i])
}
}
}
</script>
FAQs
Vue2 component for [Legato Dnd](https://github.com/LazyLZ/legato-dnd).
We found that vue2-legato-dnd 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
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.