
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
dragdrop-component
Advanced tools
##DragDrop是什么? 拖放是一种常见的特性,即抓取对象以后拖到另一个位置。 ##安装
npm install dragdrop-component##使用
const {Drag, Drop} = 'dragdrop-component';
....
<div className="App">
<Drag className='drag'>123</Drag>
<Drop className='drop'
onDrop={(e) => {
console.log(e)
}}
>444</Drop>
<Drop className='drop parent'>
<Drop className='drop2'
onDrop={(e) => {
//e.stopPropagation()
}}
onDropOver={(e)=>{
//这里可以从e中拿到toElement 和fromElement 对拖动后放置的位置进行自定义 比如 e.formElement.insertBefore(e.toElement,e.formElement.childNodes[1]);
}}
><span>55</span></Drop>
</Drop>
</div>
##有问题反馈 在使用中有任何问题,欢迎反馈给我,可以用以下联系方式跟我交流
##关于作者
在兴趣的驱动下,写一个免费的东西,有欣喜,也还有汗水,希望你喜欢我的作品,同时也能支持一下。
FAQs
We found that dragdrop-component 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.