Menu.insertItemBefore

Syntax

insertItemAfter (item: Object, beforeItem: PP.Ui.MenuItem)

Parameters

item. Menu item to be inserted.

beforeItem. Menu item, before which the new menu item will be inserted.

Description

The insertItemBefore method inserts a menu item before a specified item.

Example

The example of use is given in description of the Menu.insertItemAfter method.

See also:

Menu