Interface. Viewer Options
hiddenDiv:
string
Defined in: packages/sprotty/src/base/views/viewer-options.ts:28
ID of the HTML element into which the hidden diagram is rendered.
horizontalScrollLimits:
Limits
Defined in: packages/sprotty/src/base/views/viewer-options.ts:50
Minimum and maximum values for the horizontal scroll position.
needsClientLayout:
boolean
Defined in: packages/sprotty/src/base/views/viewer-options.ts:40
Whether client layouts need to be computed by Sprotty. This activates a hidden rendering cycle.
needsServerLayout:
boolean
Defined in: packages/sprotty/src/base/views/viewer-options.ts:42
Whether the model source needs to invoke a layout engine after a model update.
popupClass:
string
Defined in: packages/sprotty/src/base/views/viewer-options.ts:36
CSS class added to the base element of popup boxes.
popupClosedClass:
string
Defined in: packages/sprotty/src/base/views/viewer-options.ts:38
CSS class added to popup boxes when they are closed.
popupCloseDelay:
number
Defined in: packages/sprotty/src/base/views/viewer-options.ts:46
Delay for closing a popup box after leaving the corresponding element.
popupDiv:
string
Defined in: packages/sprotty/src/base/views/viewer-options.ts:34
ID of the HTML element into which hover popup boxes are rendered.
popupOpenDelay:
number
Defined in: packages/sprotty/src/base/views/viewer-options.ts:44
Delay for opening a popup box after mouse hovering an element.
optional
shadowRoot:string
Defined in: packages/sprotty/src/base/views/viewer-options.ts:32
ID of the HTML element holding the shadow root.
verticalScrollLimits:
Limits
Defined in: packages/sprotty/src/base/views/viewer-options.ts:52
Minimum and maximum values for the vertical scroll position.
zoomLimits:
Limits
Defined in: packages/sprotty/src/base/views/viewer-options.ts:48
Minimum (zoom out) and maximum (zoom in) values for the zoom factor.