Skip to content

Allow customizing classes.#119

Merged
johnny merged 1 commit intojohnny:masterfrom
jgerigmeyer:custom-classes
Aug 8, 2014
Merged

Allow customizing classes.#119
johnny merged 1 commit intojohnny:masterfrom
jgerigmeyer:custom-classes

Conversation

@jgerigmeyer
Copy link
Contributor

Instead of forcing .dragged, .dragging, and .placeholder, this PR allows users to set custom classes using new bodyClass, draggedClass, and placeholderClass options.

Fixes #118.

johnny added a commit that referenced this pull request Aug 8, 2014
@johnny johnny merged commit 1c939b8 into johnny:master Aug 8, 2014
@petrdvorak
Copy link

Hello, the current plugin code from "master" does not work properly because of this pull request, since the new options are not copied in container group options and therefore are not set. As a result, the about-to-be-dragged element always sticks to the 0,0 point of the screen.

@jgerigmeyer, could you please have a look and review your patch is complete and merged properly in master branch?

Thank you for the great work, guys!

@jgerigmeyer
Copy link
Contributor Author

@petr-inmite I'm not currently using this plugin, but it was working for me when I was. Could you submit a PR of your own, or include an example (jsfiddle or similar) demonstrating the bug?

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.

Allow custom classes.

3 participants