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

Properties

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

a canonical version of pull, created by Sortable

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

a canonical version of put, created by Sortable

name: string

group name

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

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

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

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

revertClone?: boolean

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