Sprotty
Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Interface. Request Bounds Action

sprotty-protocol / RequestBoundsAction

Interface: RequestBoundsAction

Defined in: actions.ts:269

Sent from the model source to the client to request bounds for the given model. The model is rendered invisibly so the bounds can derived from the DOM. The response is a ComputedBoundsAction. This hidden rendering round-trip is necessary if the client is responsible for parts of the layout (see needsClientLayout viewer option).

Extends

Properties

_?

readonly optional _: ComputedBoundsAction

Defined in: actions.ts:57

Used to ensure correct typing. Clients must not use this property

Inherited from

RequestAction._


kind

kind: "requestBounds"

Defined in: actions.ts:270

Overrides

RequestAction.kind


newRoot

newRoot: SModelRoot

Defined in: actions.ts:271


requestId

requestId: string

Defined in: actions.ts:52

Inherited from

RequestAction.requestId