Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dflex/draggable

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dflex/draggable - npm Package Compare versions

Comparing version 2.7.2 to 2.8.0

9

package.json
{
"name": "@dflex/draggable",
"version": "2.7.2",
"version": "2.8.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"description": "Modern Draggable package for all JavaScript frameworks",
"author": "Jalal Maskoun <jimmy002020@gmail.com>",

@@ -20,4 +21,4 @@ "scripts": {

"dependencies": {
"@dflex/core-instance": "^2.7.2",
"@dflex/store": "^2.7.2"
"@dflex/core-instance": "^2.8.0",
"@dflex/store": "^2.8.0"
},

@@ -44,3 +45,3 @@ "keywords": [

},
"gitHead": "4c0f3773b9690eb9f7b184462f21620ccf728d55"
"gitHead": "c1db275a3790fa1aff5df818066721488ae305bb"
}

@@ -7,2 +7,4 @@ <h1 align="center">

<h1 align="center">Modern Draggable package for all JavaScript frameworks</h1>
<p align="center">

@@ -33,11 +35,23 @@ <a href="https://github.com/dflex-js/dflex">

> Draggable is a native utility written in pure JS works for Web and Mobile
DFlex draggable is the simplest solution to create JavaScript draggable
DFlex Draggable is the simplest solution to create JavaScript draggable
elements. No need for a special tutorial and thinking about implementation
complexity or even migration to different technologies for different frameworks.
It can be used with any app you have whether it is React, Vue, Angular or Svelte.
It can be used with any app you have whether it is React, Vue, Angular or
Svelte.
## Installation
## DFlex Features ✅
- Dynamic architecture.
- Traverse DOM without calling browser API.
- Transform elements instead of reordering the DOM tree.
- Animated movement from point-x to point-y.
- Prevent drag and drop layout shift.
- Isolated from data flow.
- Headless as it is just functions that do manipulation.
- Event driven API.
- Targeting each DOM node individually.
- Extensible using JSON tree instead of flat recursion.
## Installation 📦
```bash

@@ -47,5 +61,22 @@ npm install @dflex/draggable

## API
## Documentation 📖
Visit DFlex site for more <https://www.dflex.dev/> and to see live
examples with the full code.
Visit DFlex site for docs <https://www.dflex.dev/> and live demo.
## Related Content 🏋️‍
### [**Drag & Drop**](https://github.com/dflex-js/dflex/tree/master/packages/dnd)
A Drag-and-Drop package for all JavaScript frameworks implementing an enhanced
transformation mechanism to manipulate DOM elements. You can achieve a drag and
drop with three steps only with mouse/touch event.
### [**Utils/DOM Generator**](https://github.com/dflex-js/dflex/tree/master/packages/dom-gen)
DOM relations generator algorithm. Generate relations between DOM elements based
on element depth without a browser.
### [**Utils/DOM Store**](https://github.com/dflex-js/dflex/tree/master/packages/store)
The only Store that allows you to traverse through the DOM tree using element id
without reading from the browser.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc