Skip to content

Improve Update in API

Compare
Choose a tag to compare
@chhoumann chhoumann released this 24 May 11:43
· 88 commits to master since this release

update(propertyName: string, propertyValue: string, file: TFile | string)

Updates a property with the given name to the given value in the given file.

If the file is a string, it should be the file path. Otherwise, a TFile is fine.

This is an asynchronous function, so you should await it.