Options
All
  • Public
  • Public/Protected
  • All
Menu

分组选项

Hierarchy

  • GroupOptions

Index

Properties

Optional checkPull

checkPull: CheckPullHandle

a canonical version of pull, created by Sortable 检查是否允许拖出 调用 group.pull的函数

Optional checkPut

checkPut: CheckPutHandle

a canonical version of put, created by Sortable 检查是否允许拖入 调用 group.put的函数

name

name: string

group name

Optional pull

pull: boolean | "clone" | readonly string[] | ((to: Sortable, from: Sortable, dragEl: HTMLElement, event: SortableEvent) => PullResult)

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

Optional put

put: boolean | readonly string[] | ((to: Sortable, from: Sortable, 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.

Optional revertClone

revertClone: boolean

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

Generated using TypeDoc