
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@xiaohaih/draggable
Advanced tools
vue2.7.*, vue3<template>
<div>
<div v-draggable class="box absolute cursor-move">拖拽我</div>
<div class="wrap relative size-600px">
<div v-draggable.overflow="'.handle'" class="box absolute left-300px w-100px h-100px">
<div class="handle cursor-move">拖拽我</div>
<div>内容1</div>
<div>内容2</div>
<div>内容3</div>
<div>内容4</div>
</div>
</div>
<div v-draggable="draggableOption" class="wrap">
<div class="box absolute left-50px top-800px">
<div class="handle cursor-move">拖拽我</div>
<div>内容1</div>
<div>内容2</div>
<div>内容3</div>
<div>内容4</div>
</div>
</div>
</div>
</template>
<script lang="ts" setup>
import { draggable as vDraggable } from '@xiaohaih/draggable';
const draggableOption = {
target: '.box',
handle: '.handle',
};
</script>
import { drag } from '@xiaohaih/draggable';
drag({ target: document.querySelector('.box') });
drag({
target: document.querySelectorAll('.box')[1],
handle: document.querySelectorAll('.box')[1].querySelector('.handle'),
overflow: true,
});
FAQs
拖拽插件, 可通过指令或函数调用
We found that @xiaohaih/draggable demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.