PhantomJsCloud Automation API
    Preparing search index...

    Interface DragData

    Drag data the browser reports for an intercepted drag (Chrome DevTools Input.DragData). pjsc refuses drag data that names files (files): a drop never carries a file from the server into the page.

    interface DragData {
        dragOperationsMask: number;
        files?: string[];
        items: { baseURL?: string; data: string; mimeType: string; title?: string }[];
    }
    Index
    dragOperationsMask: number

    the allowed drag operations (bit mask)

    files?: string[]

    must be absent or empty: pjsc refuses drag data with file paths

    items: { baseURL?: string; data: string; mimeType: string; title?: string }[]

    the dragged items: { mimeType, data, title?, baseURL? }