applyViewState Method

Replace this viewport's ViewState without triggering events like Viewport.onChangeView. This is chiefly useful when you are synchronizing the states of two or more viewports, as in TwoWayViewportSync, to avoid triggering unwanted "echo" events during synchronization. In all other scenarios, Viewport.changeView is the correct method to use.

applyViewState(val: ViewState): void

Parameter Type Description
val ViewState  

Returns - void

Defined in

Last Updated: 25 April, 2024