Skip to content

ElectronAutoResizeOptions

Unofficial

Options controlling how a ElectronBrowserView auto-resizes with its window.

Import:

import type { ElectronAutoResizeOptions } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface ElectronAutoResizeOptions

Properties

PropertyTypeDescription
height?booleanIf true, the view's height will grow and shrink together with the window.
horizontal?booleanIf true, the view's x position and width will grow and shrink proportionally with the window.
vertical?booleanIf true, the view's y position and height will grow and shrink proportionally with the window.
width?booleanIf true, the view's width will grow and shrink together with the window.