TLFrameUtil
Public Class
Table of Contents
Signature
class TLFrameUtil extends TLBoxUtil<TLFrameShape> {}
References
Properties
canBind
Public Property
Signature
canBind: () => boolean
canDropShapes
Public Property
Signature
canDropShapes: (_shape: TLFrameShape, _shapes: TLShape[]) => boolean
References
canEdit
Public Property
Signature
canEdit: () => boolean
canReceiveNewChildrenOfType
Public Property
Signature
canReceiveNewChildrenOfType: (_type: TLShapeType) => boolean
References
onDragShapesOut
Public Property
Signature
onDragShapesOut: (_shape: TLFrameShape, shapes: TLShape[]) => void
References
onDragShapesOver
Public Property
Signature
onDragShapesOver: (
frame: TLFrameShape,
shapes: TLShape[]
) => {
shouldHint: boolean
}
References
onResizeEnd
Public Property
Signature
onResizeEnd: OnResizeEndHandler<TLFrameShape>
References
OnResizeEndHandler, TLFrameShape
type
Public Static Property
Signature
static type: string
Methods
defaultProps()
Public Method
Parameters
None
Returns
TLFrameShape['props']
References
indicator()
Public Method
Parameters
Name | Description |
---|---|
|
|
Returns
JSX.Element
References
render()
Public Method
Parameters
Name | Description |
---|---|
|
|
Returns
JSX.Element
References
toSvg()
Public Method
Parameters
Name | Description |
---|---|
|
|
|
|
|
|
Returns
Promise<SVGElement> | SVGElement
References
TLFrameShape, TLExportColors, Promise, SVGElement