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

    Class AnimationManagerInternal

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

    Index

    Constructors

    Accessors

    Methods

    • 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