Class MenuItem


Deprecated. The UI service was deprecated on December 11, 2014. To create user interfaces, use the HTML service instead.

An entry in a MenuBar.

Menu items can either fire an event handler when they are clicked, or open a cascading sub-menu.

Internally, UiApp widgets are built on top of the Google Web Toolkit, and it can sometimes be helpful to look at the GWT documentation directly. You can find the MenuItem documentation here.

Deprecated methods

Send feedback about...

Apps Script
Apps Script