Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding the ability to style dragged div #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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