Comments (4)
You could do dragula([], options)
, creating a drake
with no containers. Then use drake.addContainer(containers)
whenever you have new containers to add, and drake.removeContainer(containers)
whenever you have containers to dispose of.
from dragula.
gotcha! thanks
from dragula.
What is a container and what is a drake? This is not covered in the documentation.
from dragula.
@nanthil var drake = dragula(container, option)
The dragula method returns a tiny object with a concise API. We'll refer to the API returned by dragula as drake.
from dragula.
Related Issues (20)
- revertOnSpill mirror does not work correctly for last element in a container HOT 1
- Is there a maintained fork? HOT 1
- cancel event does not fired when copy: true HOT 1
- The slack link on your site points to a new heroku instance
- example.js and example.min.js do not match
- Is your project still maintained? HOT 9
- Option to disable drag shadow
- Drag and Drop not working in Bootstrap Tabs
- Angular 13 - Library Warning - depends on 'dragula'. CommonJS or AMD dependencies can cause optimization bailouts.
- Prevent dragging to an area in dragula container? HOT 1
- How get access to the https://dragula.slack.com/ How get an invite?
- Idea: Possibility to access initialSibling from outside the dragula function.
- Horizontal sorting is buggy in RTL and flex-direction: row-reverse containers HOT 1
- How to specify the HTML of a dropped element?
- New slack user request
- Delay redraw until drop. HOT 1
- tow questions and a bug report
- Is there a way to remove the event listening ?
- Clicking a select in a draggable item still drags the item on Firefox HOT 2
- Dragging outside the boundary causes error accessing attribute on a null object
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dragula.