BookmarkShapeUtil

Public Class

Table of Contents
Signature
class BookmarkShapeUtil extends BaseBoxShapeUtil<TLBookmarkShape> {}
References

BaseBoxShapeUtil, TLBookmarkShape


Properties

canResize

Public Property

Signature
canResize: () => boolean

hideSelectionBoundsBg

Public Property

Signature
hideSelectionBoundsBg: () => boolean

hideSelectionBoundsFg

Public Property

Signature
hideSelectionBoundsFg: () => boolean

onBeforeCreate

Public Property

Signature
onBeforeCreate?: TLOnBeforeCreateHandler<TLBookmarkShape>
References

TLOnBeforeCreateHandler, TLBookmarkShape


onBeforeUpdate

Public Property

Signature
onBeforeUpdate?: TLOnBeforeUpdateHandler<TLBookmarkShape>
References

TLOnBeforeUpdateHandler, TLBookmarkShape


type

Public Static Property

Signature
static type: string

updateBookmarkAsset

Public Property

Signature
protected updateBookmarkAsset: {
  (shape: TLBookmarkShape): Promise<void>
  cancel(): void
}
References

TLBookmarkShape, Promise


Methods

defaultProps()

Public Method

Parameters

None

Returns
TLBookmarkShape['props']
References

TLBookmarkShape


getHumanReadableAddress()

Public Method

Parameters
NameDescription

shape

TLBookmarkShape
Returns
string
References

TLBookmarkShape


indicator()

Public Method

Parameters
NameDescription

shape

TLBookmarkShape
Returns
JSX.Element
References

TLBookmarkShape, JSX.Element


render()

Public Method

Parameters
NameDescription

shape

TLBookmarkShape
Returns
JSX.Element
References

TLBookmarkShape, JSX.Element


Edit this page
Last edited on 6 June 2023
blobAsStringCanvas