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

Interface. Update Model Action

sprotty-protocol / UpdateModelAction

Interface: UpdateModelAction

Defined in: actions.ts:165

Sent from the model source to the client in order to update the model. If no model is present yet, this behaves the same as a SetModelAction. The transition from the old model to the new one can be animated.

Properties

animate?

optional animate: boolean

Defined in: actions.ts:169


cause?

optional cause: Action

Defined in: actions.ts:170


kind

kind: "updateModel"

Defined in: actions.ts:166


matches?

optional matches: Match[]

Defined in: actions.ts:168


newRoot?

optional newRoot: SModelRoot

Defined in: actions.ts:167