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

PropertyTypeDescription
appAppReference to the app.
keystringKey of the property field.
sourcePathstringDetermine the source path of current context.

Methods

MethodReturnsDescription
blur()voidCallback called on property field unfocus.
onChange(value)voidCallback called on property value change.

Links to this page: