editor › Globals › ITransformsChangeEvent
Interface: ITransformsChangeEvent
Describes an event that is sent out when an IPositioningAnchor changes transforms. This may be sent out by the anchor itself or a IPositionableElement whose position depends on the anchor's transforms.
Hierarchy
- ITransformsChangeEvent
Index
Properties
Properties
Optional Readonly modelElement
• modelElement? : IModelElement
Defined in src/model/data/Concepts/Anchors/ITransformsChangeEvent.ts:24
If this event was emitted by a modelElement, it must set its identity in addition to the anchor's so that a receiver can link an event to the target modelElement. NOTICE: be sure to emit a new object, as the original event from the anchor may be used elsewhere as well.
Readonly transformsDefiner
• transformsDefiner: IPositionableElementTransformsDefiner
Defined in src/model/data/Concepts/Anchors/ITransformsChangeEvent.ts:17
The transformsDefiner whose change is responsible for this very event (and whose transforms just changed).
If the event goes through a chain of anchors, each anchor should emit an event referencing itself (IModelElement should only receive events from anchors they directly reference).