mirror of
https://github.com/cudr/slate-collaborative.git
synced 2026-03-02 03:40:18 +00:00
Update README.md
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user