Skip to content

GetViewportParams

Unofficial

Parameters for computing a page viewport.

Import:

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

Signature:

export interface GetViewportParams

Properties

Property Type Description
dontFlip? boolean Whether to flip the viewport.
offsetX? number Horizontal offset.
offsetY? number Vertical offset.
rotation? number Rotation angle in degrees.
scale number Scale factor.