interface GroupOptions {
    checkPull?: ((sortable, activeSortable, dragEl, event) => string | boolean | string[]);
    checkPut?: ((sortable, activeSortable, dragEl, event) => string | boolean | string[]);
    name: string;
    pull?: PullResult | ((to, from, dragEl, event) => PullResult);
    put?: PutResult | ((to, from, dragEl, event) => PutResult);
    revertClone?: boolean;
}

Properties

checkPull?: ((sortable, activeSortable, dragEl, event) => string | boolean | string[])

Type declaration

    • (sortable, activeSortable, dragEl, event): string | boolean | string[]
    • a canonical version of pull, created by Sortable

      Parameters

      Returns string | boolean | string[]

checkPut?: ((sortable, activeSortable, dragEl, event) => string | boolean | string[])

Type declaration

    • (sortable, activeSortable, dragEl, event): string | boolean | string[]
    • a canonical version of put, created by Sortable

      Parameters

      Returns string | boolean | string[]

name: string

group name

pull?: PullResult | ((to, from, dragEl, event) => PullResult)

ability to move from the list. clone — copy the item, rather than move.

Type declaration

put?: PutResult | ((to, from, dragEl, event) => PutResult)

whether elements can be added from other lists, or an array of group names from which elements can be taken.

Type declaration

revertClone?: boolean

revert cloned element to initial position after moving to a another list.

Generated using TypeDoc