Skip to content

After finishing load event #180

@link-er

Description

@link-er

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions