mirror of
https://github.com/cudr/slate-collaborative.git
synced 2024-10-27 20:34:06 +00:00
Update README.md
This commit is contained in:
parent
79de3eea30
commit
ca5c413d3c
@ -30,7 +30,7 @@ const plugins = [ColaborativeClient(options)]
|
|||||||
cursorAnnotationType?: string // type string for cursor annotations
|
cursorAnnotationType?: string // type string for cursor annotations
|
||||||
annotationDataMixin?: Data // any data passed to cursor annotation
|
annotationDataMixin?: Data // any data passed to cursor annotation
|
||||||
renderPreloader?: () => ReactNode // optional preloader render
|
renderPreloader?: () => ReactNode // optional preloader render
|
||||||
renderCursor?: (data: Data) => ReactNode | any // option custom cursor render
|
renderCursor?: (data: Data) => ReactNode | any // custom cursor render
|
||||||
onConnect?: (connection: Connection) => void // connect callback
|
onConnect?: (connection: Connection) => void // connect callback
|
||||||
onDisconnect?: (connection: Connection) => void // disconnect callback
|
onDisconnect?: (connection: Connection) => void // disconnect callback
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user