BindingOnShapeChangeOptions
See source codeTable of contents
Options passed to BindingUtil.onAfterChangeFromShape and BindingUtil.onAfterChangeToShape, describing a bound shape being changed.
interface BindingOnShapeChangeOptions<Binding extends TLUnknownBinding> {}Properties
binding
The binding record linking these two shapes.
binding: Bindingreason
Why did this shape change?
- 'self': the shape itself changed
- 'ancestry': the ancestry of the shape changed, but the shape itself may not have done
reason: 'ancestry' | 'self'shapeAfter
The shape record after the change is made.
shapeAfter: TLShapeshapeBefore
The shape record before the change is made.
shapeBefore: TLShapePrev
BindingOnDeleteOptionsNext
BindingOnShapeDeleteOptions