Skip to content
#

draggable

Here are 277 public repositories matching this topic...

Sortable
waynevanson
waynevanson commented Apr 16, 2020

Is your feature request related to a problem? Please describe.
readme is lengthy, verbose, not up to date and difficult to navigate.

Describe the solution you'd like
Add a separate set of docs host on github pages or in the wiki.

Describe alternatives you've considered
This is the alternative.

Additional context
Missing API's, missing examples, missing common solution

GianlucaFrongia
GianlucaFrongia commented Oct 3, 2018

First of all, a huge thank you for this awesome project. We use it in production at our company and it works just great (has saved us many hours of coding) 💯 💯
I also want to contribute to this project in some way, but im still new in the Javascript world.
Anyway, here are some ways in which I am capable to help with::

TreyWurm
TreyWurm commented Apr 10, 2019

JavaDoc for addItem()/addItems() states that when passing a negative position it will be appended to the end. On eu.davidea:flexible-adapter:5.1.0 you got following annotation
@IntRange(from = 0) which prevents passing negative positions

vitalybaev
vitalybaev commented Sep 20, 2019

It will be a nice enhancement to have the ability to change values with two thumbs.
I can make this done a bit later. What do you think?

I think it should be work this way:

  1. If click between thumbs - move the closest thumb to the mouse point
  2. If click before the first thumb - move it, else if click after the last thumb - move it. Of course, we should respect rtl.
JoepOomens
JoepOomens commented Jun 27, 2019

When I use the Tree component in Nuxt.js, I get the 'document is not defined' error when opening the page. I guess it has to do with the SSR in Nuxt, but the error still exists with the tag.

Has somebody solved this issue?

<template>
	<no-ssr>
		<Tree :data="list" draggable="draggable" cross-tree="cross-tree">
			<div slot-scope="{ data, store }">
				<template v-if="!list.
phtwo
phtwo commented Jun 3, 2019

I had same problem with #22 .

resetInitialPos
Returns to the initial position of the element, before it is mounted.

I only need to initialize the position at the beginning.
And I thought it only works at the beginning until I update my component...

May you add a reminder to the document ?
It should make it unnecessary to waste time debugging code

robmeredith
robmeredith commented Aug 27, 2017

Version: 2.6.0
Angular 4.3.5
AngularCli: 1.4.0-rc.1

When running on universal I get the following error

ERROR TypeError: this.el.nativeElement.querySelector is not a function
    at Draggable.getDragHandleElement (C:\dev\git_clones\app\node_modules\ng2-drag-drop\src\directives\draggable.directive.js:136:49)
    at Draggable.applyDragHandleClass (C:\dev\git_clones\app\node_modules\ng

Improve this page

Add a description, image, and links to the draggable topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the draggable topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.