Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Access the item.sortable object in the helper property #460

@MichaelTSS

Description

@MichaelTSS

Thanks for the great work!

Pulled from jQuery's documentation, about the helper method:

A function that will return a DOMElement to use while dragging. The function receives the event and the element being sorted.

The sad news is I can't make a dynamic helper: either I use clone and get the whole source DOM or create a whole new element. The problem is unlike the start(), update() etc. methods, the helper() method doesn't give access to the ui.item.sortable object.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions