This repository has been archived by the owner on Oct 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
sp adaptive card extension base.basecardview
John Nguyen edited this page Aug 19, 2021
·
3 revisions
Home > @microsoft/sp-adaptive-card-extension-base > BaseCardView
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Primitive base class for Card views.
Signature:
export declare abstract class BaseCardView<TProperties = {}, TState = {}, TData extends IBaseCardParameters = IBaseCardParameters> extends BaseView<TProperties, TState, TData>
Extends: BaseView<TProperties, TState, TData>
No third-party Card views should inherit from this class.
Property | Modifiers | Type | Description |
---|---|---|---|
cardButtons | [ICardButton] | [ICardButton, ICardButton] | undefined | (BETA) The buttons displayed on the Card. | |
data | TData | (BETA) The data used to render the Card view. | |
onCardSelection | IQuickViewCardAction | IExternalLinkCardAction | ISelectMediaCardAction | undefined | (BETA) Action to invoke when the card is selected. |