Skip to content

View.onPaneMenu method

View › onPaneMenu

Official

Populates the pane menu.

(Replaces the previously removed onHeaderMenu and onMoreOptionsMenu)

Signature:

onPaneMenu(menu: Menu, source: string): void

Parameters:

ParameterTypeDescription
menuMenuThe menu.
sourcestringWhere the menu was opened from, such as 'more-options' or 'tab-header'.

Returns: void

Since: 0.15.3