Google Apps Chat V1 Client - Class OverflowMenu (0.14.0)

Reference documentation and code samples for the Google Apps Chat V1 Client class OverflowMenu.

A widget that presents a pop-up menu with one or more actions that users can invoke. For example, showing non-primary actions in a card. You can use this widget when actions don't fit in the available space. To use, specify this widget in the OnClick action of widgets that support it. For example, in a Button .

Google Workspace add-ons and Chat apps :

Generated from protobuf message google.apps.card.v1.OverflowMenu

Namespace

Google \ Apps \ Card \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ items
array< OverflowMenu\OverflowMenuItem >

Required. The list of menu options.

getItems

Required. The list of menu options.

Returns
Type
Description

setItems

Required. The list of menu options.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: