BaseTemplateCardView class
Primitive base class for template-based Card views.
- Extends
-
BaseCardView<TProperties, TState>
Remarks
This class is marked as @sealed
. Subclasses should not extend it.
No third-party Card views should inherit from this class.
Properties
card |
The buttons displayed on the Card. |
data | The data used to render the Card view. |
template | The Adaptive Card template used to render the view. |
Property Details
cardButtons
The buttons displayed on the Card.
/** @virtual */
get cardButtons(): [ICardButton] | [ICardButton, ICardButton] | undefined;
Property Value
[ICardButton] | [ICardButton, ICardButton] | undefined
Remarks
Some Card view templates will restrict how many buttons can be displayed depending on various factors. See the documentation for the respective base Card View class for specific details.
data
The data used to render the Card view.
abstract get data(): TData;
Property Value
TData
Remarks
The available data to display is dependent on the Card view template and its respective base Card view class. See the documentation for the Card View class for specific details.
template
Warning
This API is now deprecated.
template property is deprecated for card views.
The Adaptive Card template used to render the view.
abstract get template(): ISPFxAdaptiveCard;