synchWithView Method

Call Viewport.setupFromView on this Viewport and then apply optional behavior.

synchWithView(_options?: boolean | ViewChangeOptions): void

note In previous versions, the argument was a boolean saveInUndo. For backwards compatibility, if _options is a boolean, it is interpreted as "{ noSaveInUndo: !_options }"

Parameter Type Description
_options boolean | ViewChangeOptions  

Returns - void

Defined in

Last Updated: 12 June, 2024