GoogleApi.Chat.V1.Model.GoogleAppsCardV1Grid (google_api_chat v0.27.0) View Source
Represents a Grid widget that displays items in a configurable grid layout.
Attributes
-
borderStyle(type:GoogleApi.Chat.V1.Model.GoogleAppsCardV1BorderStyle.t, default:nil) - The border style to apply to each grid item. -
columnCount(type:integer(), default:nil) - The number of columns to display in the grid. A default value is used if this field isn't specified, and that default value is different depending on where the grid is shown (dialog versus companion). -
items(type:list(GoogleApi.Chat.V1.Model.GoogleAppsCardV1GridItem.t), default:nil) - The items to display in the grid. -
onClick(type:GoogleApi.Chat.V1.Model.GoogleAppsCardV1OnClick.t, default:nil) - This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. -
title(type:String.t, default:nil) - The text that displays in the grid header.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Chat.V1.Model.GoogleAppsCardV1Grid{
borderStyle: GoogleApi.Chat.V1.Model.GoogleAppsCardV1BorderStyle.t() | nil,
columnCount: integer() | nil,
items: [GoogleApi.Chat.V1.Model.GoogleAppsCardV1GridItem.t()] | nil,
onClick: GoogleApi.Chat.V1.Model.GoogleAppsCardV1OnClick.t() | nil,
title: String.t() | nil
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.