Enum WrapStyle
WrapStyle
An enum that sets the wrapping style for content within a column.
Available for Google Chat apps and Google Workspace Add-ons.
To call an enum, you call its parent class, name, and property. For example,
CardService.WrapStyle.WRAP
.
Properties
Property | Type | Description |
NOWRAP | Enum | No wrapping. Default. |
WRAP | Enum | Wraps the content for any widgets in a column. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["`WrapStyle` is an enum used to control text wrapping within columns in Google Chat apps and Google Workspace Add-ons."],["It offers two options: `NOWRAP` (default, no wrapping) and `WRAP` (wraps content within column widgets)."],["To use it, call the enum through its parent class and name, such as `CardService.WrapStyle.WRAP`."]]],[]]