correction of adding custom menu
correction of setProperty updating CHANGELOG updating api-reference
This commit is contained in:
parent
5565ddd3f4
commit
858a513569
9 changed files with 87 additions and 42 deletions
|
@ -323,7 +323,7 @@ WA.getCurrentRoom((room) => {
|
|||
|
||||
### Add a custom menu
|
||||
```
|
||||
registerMenuCommand(commandDescriptor: string, callback: (commandDescriptor: string) => void)
|
||||
registerMenuCommand(commandDescriptor: string, callback: (commandDescriptor: string) => void): void
|
||||
```
|
||||
Add a custom menu item containing the text `commandDescriptor`. A click on the menu will trigger the `callback`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue