Skip to content

PropertyRenderContext

Defined in: src/obsidian/internals/PropertyRenderContext.d.ts:5

Properties

app

app: App

Defined in: src/obsidian/internals/PropertyRenderContext.d.ts:9

Reference to the app


key

key: string

Defined in: src/obsidian/internals/PropertyRenderContext.d.ts:13

Key of the property field


metadataEditor

metadataEditor: MetadataEditor

Defined in: src/obsidian/internals/PropertyRenderContext.d.ts:17

Reference to the metadata editor


sourcePath

sourcePath: string

Defined in: src/obsidian/internals/PropertyRenderContext.d.ts:21

Determine the source path of current context

Methods

blur()

blur(): void

Defined in: src/obsidian/internals/PropertyRenderContext.d.ts:26

Callback called on property field unfocus

Returns

void


onChange()

onChange(value): void

Defined in: src/obsidian/internals/PropertyRenderContext.d.ts:30

Callback called on property value change

Parameters

value

unknown

Returns

void