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 5
sp adaptive card extension base.baseview
John Nguyen edited this page Aug 19, 2021
·
3 revisions
Home > @microsoft/sp-adaptive-card-extension-base > BaseView
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.
Base class for all views.
Signature:
export declare abstract class BaseView<TProperties = {}, TState = {}, TData = {}>
No third-party views should inherit from this class.
Property | Modifiers | Type | Description |
---|---|---|---|
cardNavigator | ViewNavigator<BaseCardView<TProperties, TState>> | (BETA) See BaseAdaptiveCardExtension.cardNavigator. | |
cardSize | CardSize | (BETA) See BaseAdaptiveCardExtension.cardSize. | |
data | TData | undefined | (BETA) The data used to render the View. | |
properties | TProperties | (BETA) See BaseAdaptiveCardExtension.properties. | |
quickViewNavigator | QuickViewNavigator<BaseAdaptiveCardView<TProperties, TState>> | (BETA) See BaseAdaptiveCardExtension.quickViewNavigator. | |
state | Readonly<TState> | (BETA) See BaseAdaptiveCardExtension.state. | |
template | ISPFxAdaptiveCard | (BETA) The Adaptive Card template used to render the view. |
Method | Modifiers | Description |
---|---|---|
onAction(action) | (BETA) Action handler for Adaptive Card Actions. | |
setState(newState) | (BETA) See BaseAdaptiveCardExtension.setState(). | |
setVisibility(isVisible) | (BETA) Sets visibility to false and rerenders the card. See BaseAdaptiveCardExtension.isVisible. |