Constructor
new Card(props)
Instantiates a new Card
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
props |
object |
Properties to initialize the Properties
|
Members
actionLabel :string
Label for the select option on SMS
actions :Array.<CardAction>
Array of card actions
description :string
Card content in main card body
header :CardHeader
CardHeader object
src :string
Link to public url for card media (image, mp4, youtube or vimeo)
subtitle :string
Card subtitle in main card body
title :string
Card title in main card body
Methods
(static) fromTag(cardTag) → {Card}
Creates a Card from a CardTag
Parameters:
Name | Type | Description |
---|---|---|
cardTag |
CardTag |