Skip to content

adding the ability to style dragged div#5

Open
kjda wants to merge 1 commit intoir4y:masterfrom
kjda:master
Open

adding the ability to style dragged div#5
kjda wants to merge 1 commit intoir4y:masterfrom
kjda:master

Conversation

@kjda
Copy link

@kjda kjda commented Mar 14, 2017

No description provided.

@ir4y
Copy link
Owner

ir4y commented Mar 14, 2017

Hi @kjda
Thank you for your work.

Why do you need this feature?
Since you can use any render function for dragged element
http://package.elm-lang.org/packages/ir4y/elm-dnd/2.0.0/DnD#dragged
you can add your styles there.
Is it not enough?

As for me this styles https://github.com/ir4y/elm-dnd/blob/master/src/DnD.elm#L302 should be internal and do not need to be overridden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants