Card
Stentor API Reference / stentor-models/src / Card
Interface: Card
Defined in: packages/stentor-models/src/Display/Card/Card.ts:4
Extendsβ
Propertiesβ
typeβ
type:
"CARD"
Defined in: packages/stentor-models/src/Display/Card/Card.ts:5
Overridesβ
titleβ
title:
string
Defined in: packages/stentor-models/src/Display/Card/Card.ts:9
Card title
Overridesβ
subTitle?β
optionalsubTitle:string
Defined in: packages/stentor-models/src/Display/Card/Card.ts:13
Card secondary title, if available it is smaller font below title
contentβ
content:
string
Defined in: packages/stentor-models/src/Display/Card/Card.ts:17
Description, typically used in the body of the card
smallImageUrl?β
optionalsmallImageUrl:string
Defined in: packages/stentor-models/src/Display/Card/Card.ts:21
Small image, used on smaller form factors.
largeImageUrl?β
optionallargeImageUrl:string
Defined in: packages/stentor-models/src/Display/Card/Card.ts:25
Large image, used on larger form factors
imageActionUrl?β
optionalimageActionUrl:string
Defined in: packages/stentor-models/src/Display/Card/Card.ts:31
Beta
When present, if the image is clicked the provided website will open.
Not yet fully supported.
accessibilityText?β
optionalaccessibilityText:string
Defined in: packages/stentor-models/src/Display/Card/Card.ts:35
Used when available as the accessibility text for the image, if provided.
buttons?β
optionalbuttons:CardButton[]
Defined in: packages/stentor-models/src/Display/Card/Card.ts:39
Buttons for the card which typically appear below the body of the card near the bottom.
token?β
optionaltoken:string
Defined in: packages/stentor-models/src/Display/Types.ts:9