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

After finishing load event #180

Open
link-er opened this issue Nov 28, 2016 · 0 comments
Open

After finishing load event #180

link-er opened this issue Nov 28, 2016 · 0 comments

Comments

@link-er
Copy link

link-er commented Nov 28, 2016

Hello!
I am using the plugin and I need to make an element in every item of the list draggable. So I am adding element with class 'draggable' to the lens

<div data-ex-role="lens">
      <span data-ex-content=".hour"></span>: <span data-ex-content=".label"></span>
      <img class="draggable" data-ex-src-content=".image" />
    </div>

And call draggable ui to this class

<script type="text/javascript">
$(document).ready(function(){
      $(".draggable").draggable({});
});
</script>

The problem is that after any filtering and grouping the elements are rerendered, so drag does not work any more. The only event I could bind this to is 'DOMSubtreeModified' but is it a right solution? Is there any exhibit event after rerendering the view?
exhibitConfigured.exhibit did not help

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

No branches or pull requests

1 participant