Skip to content

Commit 7bcd76a

Browse files
authored
Merge pull request electron#6562 from liusy182/hasImageContents
fix documentation error pointed out in issue electron#6541
2 parents 50b6b50 + 6e83f45 commit 7bcd76a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/web-contents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ Returns:
367367
was invoked on. Elements with source URLs are images, audio and video.
368368
* `mediaType` String - Type of the node the context menu was invoked on. Can
369369
be `none`, `image`, `audio`, `video`, `canvas`, `file` or `plugin`.
370-
* `hasImageContent` Boolean - Whether the context menu was invoked on an image
370+
* `hasImageContents` Boolean - Whether the context menu was invoked on an image
371371
which has non-empty contents.
372372
* `isEditable` Boolean - Whether the context is editable.
373373
* `selectionText` String - Text of the selection that the context menu was

0 commit comments

Comments
 (0)