onViewChanged Readonly

onViewChanged: BeEvent<(vp: Viewport) => void> = ...

Event called whenever this viewport is synchronized with its ViewState.

@note This event is invoked very frequently. To avoid negatively impacting performance, consider using one of the more specific Viewport events; otherwise, avoid performing excessive computations in response to this event.

@see - onViewportChanged for receiving events at more regular intervals with more specific information about what changed.

  • onChangeView for an event raised specifically when a different ViewState becomes associated with the viewport.

Defined in

Last Updated: 13 May, 2024