Got 5 mins? Help us improve Apps Script documentation by taking a quick online study.

Enum TextButtonStyle

TextButtonStyle

An enum that specifies the style for TextButton.

TEXT is the default; it renders a simple text button with clear background. FILLED buttons have a background color you can set with TextButton.setBackgroundColor(backgroundColor).

Properties

PropertyTypeDescription
TEXTEnumNormal text button with clear background. Default.
FILLEDEnumText button with colored background.