Class OverflowMenu

Overflow Menu

Holds a list of Overflow Menu Item objects that are displayed in a pop-up menu.

Available for Google Chat apps. In developer preview for Google Workspace add-ons.

 const 
  
 overflowMenuItem 
  
 = 
  
 CardService 
 . 
 newOverflowMenuItem 
 (); 
 // Finish building the overflow menu item... 
 const 
  
 overflowMenu 
  
 = 
  
 CardService 
 . 
 newOverflowMenu 
 (). 
 addMenuItem 
 ( 
 overflowMenuItem 
 ); 

Methods

Method Return type Brief description
Overflow Menu Adds a menu item.

Detailed documentation

add Menu Item(menuItem)

Adds a menu item.

Parameters

Name Type Description
menu Item
Overflow Menu Item The menu item to add.

Return

Overflow Menu — This object, for chaining.

Create a Mobile Website
View Site in Mobile | Classic
Share by: