synchWithView Method

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

synchWithView(_options?: ViewChangeOptions | boolean): 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 ViewChangeOptions | boolean  

Defined in

Last Updated: 05 June, 2020