WebExeBuilder Documentation

getBorder

Category: Window Management

Namespace: web.window.getBorder

Description

Gets the current window border style.

Syntax

const border = await web.window.getBorder();

Parameters

None

Returns

Promise<string> - Returns a promise that resolves with the border style: "none", "single", or "sizeable"

Examples

Simple example

const border = await web.window.getBorder();
console.log('Border style:', border);

Use Cases

  • Check current border style
  • Determine if window is resizable
  • Save border preference

Notes

  • Returns one of: "none", "single", "sizeable"
  • "none" = No border
  • "single" = Fixed border (not resizable)
  • "sizeable" = Resizable border