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.

feat: expose the current position in the change callback #282

Open
@thgreasi

Description

@thgreasi

Hint:

var ph = $(e.target).find('> .'+$(e.target).sortable('option','placeholder').element().attr('class').split(' ').join('.'));
var onChangeIndex = $(e.target).children().get().indexOf(ph[0]);

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