Skip to content

Commit

Permalink
docs: describe findElement returning undefined and not null whe…
Browse files Browse the repository at this point in the history
…n the path is not found
  • Loading branch information
josdejong committed Jan 24, 2025
1 parent 577c3b5 commit bb13594
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -779,10 +779,10 @@ Scroll the editor vertically such that the specified path comes into view. Only
#### findElement
```ts
JSONEditor.prototype.findElement(path: JSONPath)
JSONEditor.prototype.findElement(path: JSONPath): Element | undefined
```
Find the DOM element of a given path. Returns `null` when not found.
Find the DOM element of a given path. Returns `undefined` when not found.
#### acceptAutoRepair
Expand Down

0 comments on commit bb13594

Please sign in to comment.