AboutSupportDeveloper GuideVersion 47.154.100.2
OpenFin JavaScript API
    Preparing search index...

    Interface ResizeRegion

    Defines a region in pixels that will respond to user mouse interaction for resizing a frameless window.

    interface ResizeRegion {
        bottomRightCorner?: number;
        sides?: {
            bottom?: boolean;
            left?: boolean;
            right?: boolean;
            top?: boolean;
        };
        size?: number;
    }
    Index
    bottomRightCorner?: number

    The size in pixels of an additional square resizable region located at the bottom right corner of a frameless window.

    9
    
    sides?: { bottom?: boolean; left?: boolean; right?: boolean; top?: boolean }

    Enables resizing interaction for each side of the window.

    Type Declaration

    • Optionalbottom?: boolean

      Enables resizing from the bottom of the window.

      true
      
    • Optionalleft?: boolean

      Enables resizing from the left side of the window.

      true
      
    • Optionalright?: boolean

      Enables resizing from the right side of the window.

      true
      
    • Optionaltop?: boolean

      Enables resizing from the top of the window.

      true
      
    size?: number

    The size of the resize region in pixels.

    7