setViewState

Updates the view state of the popup.

Parameters

viewState

The new view state to be set for the popup.