Skip to content

Draggable: revert option allows a funtion too, not documented #167

Closed
@Klap-in

Description

@Klap-in

The documentation of http://api.jqueryui.com/draggable/#option-revert describes boolean and string as allowed values, however a function is also supported:

($.isFunction(this.options.revert) && this.options.revert.call(this.element, dropped)))

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