[]
• type: OT_Type<unknown, IChangeSet>
Defines the OT type for spreadsheets.
▸ bind(workbook, doc): Promise<void>
Binds a workbook to a shared document.
| Name | Type | Description |
|---|---|---|
workbook |
any |
The instance of GC.Spread.Sheets.Workbook. |
doc |
SharedDoc<any, IChangeSet> |
The instance of SharedDoc. |
Promise<void>
A promise that resolves when the binding is complete.
▸ bindPresence(workbook, presence, user, options?): Promise<void>
Binds a workbook to a presence instance.
| Name | Type | Description |
|---|---|---|
workbook |
any |
The instance of GC.Spread.Sheets.Workbook. |
presence |
Presence<IPresence> |
The presence instance. |
user |
IUser |
The user information. |
options? |
IBindPresenceOptions |
- |
Promise<void>
A promise that resolves when the binding is complete.