BaseView class

Base class for all views.

Remarks

This class is marked as @sealed. Subclasses should not extend it.

No third-party views should inherit from this class.

Properties

cardNavigator

See BaseAdaptiveCardExtension.cardNavigator.

context

See BaseAdaptiveCardExtension.context.

properties

See BaseAdaptiveCardExtension.properties.

quickViewNavigator

See BaseAdaptiveCardExtension.quickViewNavigator.

state

See BaseAdaptiveCardExtension.state.

Methods

setState(newState)

See BaseAdaptiveCardExtension.setState().

Property Details

cardNavigator

See BaseAdaptiveCardExtension.cardNavigator.

get cardNavigator(): IViewNavigator<BaseCardView<TProperties, TState>>;

Property Value

IViewNavigator<BaseCardView<TProperties, TState>>

context

See BaseAdaptiveCardExtension.context.

get context(): AdaptiveCardExtensionContext;

Property Value

properties

See BaseAdaptiveCardExtension.properties.

get properties(): TProperties;

Property Value

TProperties

quickViewNavigator

See BaseAdaptiveCardExtension.quickViewNavigator.

get quickViewNavigator(): IQuickViewNavigator<BaseQuickView<TProperties, TState>>;

Property Value

IQuickViewNavigator<BaseQuickView<TProperties, TState>>

state

See BaseAdaptiveCardExtension.state.

get state(): Readonly<TState>;

Property Value

Readonly<TState>

Method Details

setState(newState)

See BaseAdaptiveCardExtension.setState().

setState(newState?: Partial<TState>): void;

Parameters

newState

Partial<TState>

Returns

void