Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 10 additions & 15 deletions res/flight-itinerary.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
* ColumnSets and Columns with the separator and width attributes
* Image with the size and spacing attributes
* Speak attribute of the card type
* Text Blocks with many attributes including size, weight, isSubtle, color, wrap, spacing and horizontalAlignment
* Text Blocks with many attributes including size, weight, color, wrap, spacing and horizontalAlignment
*
* The speak attribute from original sample was removed as this is not supported on Webex Teams
*
* isSubtle attribute is not supported for Text Blocks
*
* A data object was added to the Action.Submit type so our app can tell which card generated
* the attachmentAction, and also to detect which button the user chose
**/
Expand All @@ -24,8 +25,7 @@ class FlightItinerary {
{
"type": "TextBlock",
"text": "Passengers",
"weight": "bolder",
"isSubtle": false
"weight": "bolder"
},
{
"type": "TextBlock",
Expand Down Expand Up @@ -64,8 +64,7 @@ class FlightItinerary {
"items": [
{
"type": "TextBlock",
"text": "San Francisco",
"isSubtle": true
"text": "San Francisco"
},
{
"type": "TextBlock",
Expand Down Expand Up @@ -99,8 +98,7 @@ class FlightItinerary {
{
"type": "TextBlock",
"horizontalAlignment": "right",
"text": "Amsterdam",
"isSubtle": true
"text": "Amsterdam"
},
{
"type": "TextBlock",
Expand Down Expand Up @@ -136,8 +134,7 @@ class FlightItinerary {
"items": [
{
"type": "TextBlock",
"text": "Amsterdam",
"isSubtle": true
"text": "Amsterdam"
},
{
"type": "TextBlock",
Expand Down Expand Up @@ -171,8 +168,7 @@ class FlightItinerary {
{
"type": "TextBlock",
"horizontalAlignment": "right",
"text": "San Francisco",
"isSubtle": true
"text": "San Francisco"
},
{
"type": "TextBlock",
Expand All @@ -197,8 +193,7 @@ class FlightItinerary {
{
"type": "TextBlock",
"text": "Total",
"size": "medium",
"isSubtle": true
"size": "medium"
}
]
},
Expand Down Expand Up @@ -249,4 +244,4 @@ class FlightItinerary {

};

module.exports = FlightItinerary;
module.exports = FlightItinerary;