ElectronAutoResizeOptions
Unofficial
Options controlling how a ElectronBrowserView auto-resizes with its window.
Import:
import type { ElectronAutoResizeOptions } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface ElectronAutoResizeOptionsProperties
| Property | Type | Description | |
|---|---|---|---|
| height? | boolean | If true, the view's height will grow and shrink together with the window. | |
| horizontal? | boolean | If true, the view's x position and width will grow and shrink proportionally with the window. | |
| vertical? | boolean | If true, the view's y position and height will grow and shrink proportionally with the window. | |
| width? | boolean | If true, the view's width will grow and shrink together with the window. |