API Reference > imodeljs-frontend > Views > TwoWayViewportSync > connect connect Method Establish the connection between two Viewports. When this method is called, view2 is initialized with the state of view1. Thereafter, any change to the frustum of either view will be reflected in the frustum of the other view. connect(view1: Viewport, view2: Viewport): void Parameter Type Description view1 Viewport view2 Viewport Returns - void Defined in core/frontend/src/TwoWayViewportSync.ts Line 31 Last Updated: 11 June, 2024