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.baseadaptivecardextension.oninit

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

Home > @microsoft/sp-adaptive-card-extension-base > BaseAdaptiveCardExtension > onInit

BaseAdaptiveCardExtension.onInit() method

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.

Lifecycle method called during initialization.

Signature:

/** @virtual */
onInit(): Promise<void>;

Returns:

Promise<void>

Remarks

Asynchronous data fetches should be started during this lifecycle. Rendering can either be dependent on the result or, if resolved immediately, a fetching data state can be rendered.

Clone this wiki locally