@sovereignbase/dragonwatch
    Preparing search index...

    Type Alias DragInstruction

    Describes a dragged element at a specific translate offset.

    type DragInstruction = {
        thisEl: HTMLElement;
        x: number;
        y: number;
    }
    Index

    Properties

    Properties

    thisEl: HTMLElement

    The element the instruction applies to.

    x: number

    The horizontal translate offset, in CSS pixels.

    y: number

    The vertical translate offset, in CSS pixels.