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.
- Viewport.onChangeView for an event raised specifically when a different ViewState becomes associated with the viewport.
Defined in
- core/frontend/src/Viewport.ts Line 278
Last Updated: 16 April, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.