Interface MoveEntry

interface MoveEntry {
    duration: number;
    ended: boolean;
    index: number;
    parent: SplitPanel;
    referenceWidget?: Widget;
    reject?: ((reason) => void);
    resolve?: ((position) => void);
    side?: "left" | "right" | "top" | "bottom";
    startPosition?: number;
    startTime?: number;
    started: boolean;
    targetPosition?: number;
    targetSize?: number;
}

Hierarchy (view full)

Properties

duration: number

The duration in milliseconds, or 0 for no animation.

ended: boolean
index: number
parent: SplitPanel
referenceWidget?: Widget

When this widget is hidden, the animation is canceled.

reject?: ((reason) => void)

Type declaration

    • (reason): void
    • Parameters

      • reason: string

      Returns void

resolve?: ((position) => void)

Type declaration

    • (position): void
    • Parameters

      • position: number

      Returns void

side?: "left" | "right" | "top" | "bottom"

The side of the side panel that shall be resized.

startPosition?: number
startTime?: number
started: boolean
targetPosition?: number
targetSize?: number