View.onPaneMenu method
View › onPaneMenu
Official
Populates the pane menu.(Replaces the previously removed
onHeaderMenu and onMoreOptionsMenu)Signature:
onPaneMenu(menu: Menu, source: string): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| menu | Menu | The menu. |
| source | string | Where the menu was opened from, such as 'more-options' or 'tab-header'. |
Returns: void
Since: 0.15.3