Skip to content

Commit 5ca79d3

Browse files
committed
doc: icon in GM_registerMenuCommand
1 parent d170c06 commit 5ca79d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

content/pages/api/gm.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,9 @@ Returns the command's `caption` since VM2.12.5 or `id` since VM2.15.9.
380380
Default: `caption` text since VM2.16.2.
381381
Default in 2.15.9-2.16.1: a randomly generated string.
382382

383+
* <Field name="icon?" type="string" comment="since VM2.31.1" />
384+
URL of the icon.
385+
383386
* <Field name="title?" type="string" />
384387
A hint shown in the status bar when hovering the command.
385388

0 commit comments

Comments
 (0)