Resortable - v3.1.0
    Preparing search index...

    Class AnimationManagerInternal

    AnimationManager - Coordinates smooth animations for drag and drop operations using the FLIP (First, Last, Invert, Play) technique

    Index
    • Animate element reordering using FLIP technique

      Parameters

      • elements: HTMLElement[]

        Elements that are being reordered

      • callback: () => void

        Function that performs the actual DOM reordering

      Returns void

    • Animate a ghost/placeholder element appearance

      Parameters

      • element: HTMLElement

        The ghost element to animate

      Returns void

    • Animate a ghost/placeholder element removal

      Parameters

      • element: HTMLElement

        The ghost element to animate out

      • Optionalcallback: () => void

        Callback when animation completes

      Returns void

    • Animate element insertion into a list

      Parameters

      • element: HTMLElement

        Element being inserted

      Returns void

    • Animate element removal from a list

      Parameters

      • element: HTMLElement

        Element being removed

      • Optionalcallback: () => void

        Callback when animation completes

      Returns void

    • Update animation settings

      Parameters

      • options: { animation?: number; easing?: string }

      Returns void

    • Jump all active animations to their end state. Unlike cancelAll the elements land where the reorder put them; unlike waiting for finish, isAnimating is false as soon as this returns.

      Returns void