TLStoreBaseOptions
See source codeTable of contents
interface TLStoreBaseOptions {}Properties
assets
optional
How should this store upload & resolve assets?
assets?: TLAssetStoredefaultName
optional
The default name for the store.
defaultName?: stringinitialData
optional
The initial data for the store.
initialData?: SerializedStore<TLRecord>snapshot
optional
A snapshot of initial data to migrate and load into the store.
snapshot?: Partial<TLEditorSnapshot> | TLStoreSnapshotMethods
onMount
optional
Called when the store is connected to an Editor.
Parameters
| Name | Description |
|---|---|
|
Returns
(() => void) | voidPrev
TLStateNodeConstructorNext
TLSvgExportOptions