Resortable - v2.0.0-alpha.1
    Preparing search index...

    Class DropZoneInternal

    Manages sortable container and basic DOM operations

    Index

    Constructors

    Properties

    element: HTMLElement

    Accessors

    • get isAnimating(): boolean

      Whether FLIP animations are currently in progress

      Returns boolean

    Methods

    • Set the selector for draggable items

      Parameters

      • selector: string

      Returns void

    • Get sortable items (only elements matching the draggable selector)

      Returns HTMLElement[]

    • Get index of an item within container

      Parameters

      • item: HTMLElement

      Returns number

    • Move item to new index within container (among sortable items only)

      Parameters

      • item: HTMLElement
      • toIndex: number

      Returns void

    • Move multiple items to a target index, preserving their relative order

      Parameters

      • items: HTMLElement[]
      • toIndex: number

      Returns void