Interface. Center Action
sprotty-protocol / CenterAction
Defined in: actions.ts:511
Triggered when the user requests the viewer to center on the current model. The resulting CenterCommand changes the scroll setting of the viewport accordingly. It also resets the zoom to its default if retainZoom is false. This action can also be sent from the model source to the client in order to perform such a viewport change programmatically.
animate:
boolean
Defined in: actions.ts:514
elementIds:
string
[]
Defined in: actions.ts:513
kind:
"center"
Defined in: actions.ts:512
retainZoom:
boolean
Defined in: actions.ts:515
optional
zoomScale:number
Defined in: actions.ts:516