Skip to content

ElectronBrowserWindow.getContentSize method

ElectronBrowserWindow › getContentSize

Unofficial

Returns the window's client area's width and height.

Signature:

getContentSize(): number[]

Returns: number[]A tuple of [width, height].