mwg API
    Preparing search index...

    Interface WindowAnimation

    how a window opens or closes: pop (springs out), grow, slide (up from below) or fade

    interface WindowAnimation {
        animation: OpenAnimationKind;
        duration?: number;
        from?: { x: number; y: number };
    }
    Index
    duration?: number

    seconds; 0.25 when omitted

    from?: { x: number; y: number }

    where pop and grow come from and go back to, in the window's parent space; the window's centre when omitted