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 Viewport.onViewportChanged for receiving events at more regular intervals with more specific information about what changed.
see Viewport.onChangeView for an event raised specifically when a different ViewState becomes associated with the viewport.
Defined in
- core/frontend/src/Viewport.ts Line 272
Last Updated: 20 June, 2023