Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

sp adaptive card extension base.basecardview

John Nguyen edited this page Apr 22, 2021 · 3 revisions

Home > @microsoft/sp-adaptive-card-extension-base > BaseCardView

BaseCardView class

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>

Remarks

No third-party Card views should inherit from this class.

Properties

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 | undefined (BETA) Action to invoke when the card is selected.
Clone this wiki locally