Skip to content

Commit ac36ecc

Browse files
authored
Remove Command API section
1 parent cb768ab commit ac36ecc

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

  • content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/extensibility-api/web/web-extensions-howtos

content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/extensibility-api/web/web-extensions-howtos/menu-api.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,6 @@ The disabled state is shown in the image below:
190190

191191
{{< figure src="/attachments/apidocs-mxsdk/apidocs/extensibility-api/web/menus/disabled_menu.png" width="300" >}}
192192

193-
## Attaching a Command to the Menu
194-
195-
Instead of listening to the `menuItemActivated` event, it is possible to register a command, then attach the `commandId` of the new command to your menu. When the menu is clicked, if its `commandId` property has been set, the backend will execute the command instead of firing the `menuItemActivated` event.
196-
197-
For more information on how to register commands, see the [Commands API](/apidocs-mxsdk/apidocs/web-extensibility-api-11/command-api/).
198-
199193
## Setting the Action Property on the Menu
200194

201195
You can also set the `action` property on the menu directly.

0 commit comments

Comments
 (0)