Open this page in the API Guide

MainMenu.clearPageSubMenu Method

Clears the menu content for the current page when the main menu is not using it.