removeAllMenuItems() method

This function removes all menu items that were added by the hybrid app.

Note: This API does not support on iOS platform.

Syntax

<static> removeAllMenuItems()

Example

hwc.removeAllMenuItems();

Source

hwc-comms.js, line 754.