Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Card::V1::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#items
def items() -> ::Array<::Google::Apps::Card::V1::OverflowMenu::OverflowMenuItem>
Returns
- (::Array<::Google::Apps::Card::V1::OverflowMenu::OverflowMenuItem>) — Required. The list of menu options.
#items=
def items=(value) -> ::Array<::Google::Apps::Card::V1::OverflowMenu::OverflowMenuItem>
Parameter
- value (::Array<::Google::Apps::Card::V1::OverflowMenu::OverflowMenuItem>) — Required. The list of menu options.
Returns
- (::Array<::Google::Apps::Card::V1::OverflowMenu::OverflowMenuItem>) — Required. The list of menu options.