Table of contents

Public interface

Options passed to ShapeUtil.canBind. A binding that could be made. At least one of fromShapeType or toShapeType will belong to this shape util.

Signature
interface TLShapeUtilCanBindOpts<Shape extends TLUnknownShape = TLShape> {}
References

TLUnknownShape, TLShape

Source

packages/editor/src/lib/editor/shapes/ShapeUtil.ts


Properties

bindingType

Public propertysignature

The type of binding.

Signature
bindingType: string

fromShapeType

Public propertysignature

The type of shape referenced by the fromId of the binding.

Signature
fromShapeType: string

toShapeType

Public propertysignature

The type of shape referenced by the toId of the binding.

Signature
toShapeType: string

TLShapeIndicatorPropsTLShapeUtilCanvasSvgDef