@fileverse-dev/ddoc 1.1.6 → 1.1.8

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -37,6 +37,7 @@ The `DdocProps` interface is a TypeScript interface that defines the properties
37
37
  | `enableCollaboration` (optional) | `boolean` | Optional property to enable collaboration
38
38
  | `collaborationId` (optional) | `string` | When using enableCollaboration, you need to provide collaborationId, it can be uuid of doc |
39
39
  | `toggleCollaboration` (optional) | `(flag: boolean) => void` | Function to toggle collaboration mode with a boolean flag |
40
+ | `onAutoSave` (optional) | `(flag:boolean) => void` | Function which expose the current editor state every 10 seconds |
40
41
 
41
42
  ## Data Interface
42
43