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.viewnavigator.push

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

Home > @microsoft/sp-adaptive-card-extension-base > ViewNavigator > push

ViewNavigator.push() 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.

Pushes a new view to the top of the view stack.

BaseAdaptiveCardExtension.setState(), which will also trigger a render.

Signature:

push(id: string, skipUpdate?: boolean): void;

Parameters

Parameter Type Description
id string Unique identifier for the view.
skipUpdate boolean Whether to skip the update (and re-render) after pushing the new view.

Returns:

void

Clone this wiki locally