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
- core/frontend/src/Viewport.ts Line 298
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.