Skip to content

MeasureRequest<T>

Unofficial

A request for a layout measurement on the editor view.

Import:

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

Signature:

export interface MeasureRequest<T>

Properties

Property Type Description
key? unknown An optional key used to deduplicate requests.

Methods

Method Returns Description
read(view) T Read a value from the editor's DOM layout.
write(measure, view) void Write layout changes based on the measured value.