Skip to content

ElectronParameters

Unofficial

Parameters for device emulation.

Import:

import type { ElectronParameters } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface ElectronParameters

Properties

PropertyTypeDescription
deviceScaleFactornumberThe device scale factor. If zero, defaults to the original device scale factor.
scalenumberScale of the emulated view inside the available space (not in fit-to-view mode).
screenPosition'desktop' | 'mobile'The screen type to emulate.
screenSizeElectronSizeThe emulated screen size, used when screenPosition is mobile.
viewPositionElectronPointThe position of the view on the screen, used when screenPosition is mobile.
viewSizeElectronSizeThe emulated view size. An empty value means no override.