js-bao-wss-client / DocumentLoadedEvent
Interface: DocumentLoadedEvent
Payload of the documentLoaded event (client.on("documentLoaded", ...)). Fired when a document's content first becomes available after opening, with whether it came from local persistence or the server, whether any data was present, and how long the load took.
Properties
bytes?
optionalbytes?:number
documentId
documentId:
string
elapsedMs
elapsedMs:
number
hadData
hadData:
boolean
source
source:
"indexeddb"|"server"