
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@fw-components/fw-dnd
Advanced tools
The fw-dnd component is used to reorder the list of items using drag and drop.
npm i @fundwave/fw-dnd
const dragList = [{ name:"Aayush", company:"Fundwave" }, { name:"Isha Sharma", company:"Fundwave" }]
<fw-dnd
.list=${dragList}
@list-updated=${updateList}
.dragItemRenderer=${ (item) => html `<p>${item.name}</p>` }
></fw-dnd>
Name | Type | Default | Description |
---|---|---|---|
list | Array | [] | Array which have all list items |
dragItemRenderer | Function | HTML content render for every item of list |
Stores drag target element to categories property and set dataTransfer of event
Handle the reordering of the list Using startContainer and endContainer
Return the reordered list to the parent
FAQs
Drag-n-drop list
We found that @fw-components/fw-dnd demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.