Skip to content

PropertyRenderContext

Unofficial

Context provided to property widgets for rendering and interaction.

Import:

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

Signature:

export interface PropertyRenderContext

Properties

Property Type Description
app App Reference to the app.
key string Key of the property field.
sourcePath string Determine the source path of current context.

Methods

Method Returns Description
blur() void Callback called on property field unfocus.
onChange(value) void Callback called on property value change.

Links to this page: