Questions tagged [dragula]

a JavaScript library for convenient drag and drop support

Dragula is a JavaScript library that facilitates usage of drag and drop through an “easiest possible” API. It’s hosted on GitHub where it also provides a demo page. Dragula can easily installed using : npm install dragula --save

See usage details for a comprehensive API overview.

202 questions
0
votes
2 answers

Basic Dragula Implementation

I am trying to get a simple Dragula implementation but it is refusing to work. My code:
davidjwest
  • 538
  • 3
  • 22
0
votes
1 answer

Dragula not sending AJAX request

I am using the following code to sort the rows of a table based on Ids. I am using Dragula for drag and drop functionality. The Sorted Ids is presented in the variable sortedIDs. The alert present within if(sortedIDs) is showing an alert, but no…
Penguine
  • 519
  • 6
  • 19
0
votes
1 answer

Angular 4 Custom View

We are currently working on a Angular 4 project. Our idea is that the user can change the View with input, checkbox and other user controls. We want to solve this with drag and drop so that the user can reorder the controls. We tried it already with…
alc
  • 97
  • 1
  • 1
  • 6
0
votes
1 answer

vuetify data-table + dragula

I have a problem with making vuetify datatable work with dragula. I'm using the wrapper vue2-dragula. Here is a fiddle that demonstrate the problem though i wasn't able to make dragular work per se https://jsfiddle.net/Lscqm9je/ On my computer…
0
votes
1 answer

How do I implement Dragula.js for multiple containers for my Laravel app?

My question has to do with implementing the dragula library into my laravel app. I have got dragula to work, but it only works on one 'team' object. I'm trying to create a loop where each team object will accept the nametag div. I've put the {{…
stntmnky
  • 37
  • 1
  • 7
0
votes
2 answers

doesn't work in Polymer#2.0

item-1

item-2

item-3

0
votes
1 answer

Dragula/Angular: How to allow draggable items to be dropped anywhere within its container?

I am designing a web app in Angular with dragula included in my project. It works just fine for dragging and dropping things in a "bag", but I want a more robust drag and drop functionality. Is there a way to allow a
that holds draggable…
Chris
  • 1,091
  • 11
  • 32
0
votes
3 answers

Using Angular2+ pipes with Dragula on an array

I have a Trello-like web app. with Tasks that can be dragged & dropped in status boxes (To do, ogoing and done). I use ng2-dragula to achieve the drag & drop feature and wanted to implement a way to filter my tasks with an Angular 2 pipe. So I did,…
Christopher
  • 1,712
  • 2
  • 21
  • 50
0
votes
1 answer

ng2-dragula modelDrop event causing array to be undefined

Can't seem to work out why this isn't working. So as you can see in this GIF I am dragging a div from one container to another, ondrop` the object disappears and the array becomes undefined. Here is the code I have: Main View.html
Jamie Rees
  • 7,973
  • 2
  • 45
  • 83
0
votes
2 answers

Dragula not working on touch devices

I'm probably missing something obvious but I can't get Dragula to work on any iOS browser. I'm not doing anything special and the docs and issues on Github don't seem to offer any insight for debugging. I've got the following line of code in a…
Simpleton
  • 6,285
  • 11
  • 53
  • 87
0
votes
1 answer

Angular 2 - ng2-dragula

...
  • {{ ticket }}
I have few columns.…
0
votes
2 answers

Angular Dragula and ng-repeat $index

I have an ng-repeat of rows. I set them up so you can reorder them with drag-and-drop using Angular Dragula. This works fine, but the ng-repeat $index remains the initial value for each item after dragging. See screen captures below before and…
Steve
  • 14,401
  • 35
  • 125
  • 230
0
votes
1 answer

Dragula Drag only wanted elements

Here is my component.html
Drixson Oseña
  • 3,631
  • 3
  • 23
  • 36
0
votes
1 answer

ng2-dragula group items in div

I come across the ng2-dragula project when trying to prototype some drag and drop functionality. I was wondering how to group the following structure as one 'drake' entity?
...
When I add…
ethan
  • 1,881
  • 2
  • 17
  • 31
0
votes
1 answer

Adding Dragular to Angular2 Application: document is not defined

I am fairly new to Angular2 and I am having issues adding Dragula to my application. When I run the application an error is thrown prior to loading the home page: Exception: Call to Node module failed with error: Prerendering failed because of…
Nashibukasan
  • 2,028
  • 23
  • 37