TldrawEditorConfig
Public Class
Table of Contents
Signature
class TldrawEditorConfig {}
Constructor
Public Constructor
Constructs a new instance of the TldrawEditorConfig class
Parameters
| Name | Description |
|---|---|
(optional) | |
References
Properties
shapeUtils
Public Readonly Property
Signature
readonly shapeUtils: Record<TLShape['type'], TLShapeUtilConstructor<any>>
References
Record, TLShape, TLShapeUtilConstructor
storeSchema
Public Readonly Property
Signature
readonly storeSchema: StoreSchema<TLRecord, TLStoreProps>
References
StoreSchema, TLRecord, TLStoreProps
TLShape
Public Readonly Property
Signature
readonly TLShape: RecordType<TLShape, 'index' | 'parentId' | 'props' | 'type'>
References
tools
Public Readonly Property
Signature
readonly tools: readonly StateNodeConstructor[]
References
Methods
createStore()
Public Method
Parameters
| Name | Description |
|---|---|
| |
Returns
TLStore
References
StoreSnapshot, TLRecord, TLUserId, TLInstanceId, TLStore