[]
Ƭ IImageSource: { kind: "url" ; src: string } | { dataUrl: string ; kind: "data" } | { blobUrl: string ; kind: "blobUrl" } | { blob: Blob ; kind: "blob" } | { file: File ; kind: "file" }
{ kind: 'url'; src: string; } | { kind: 'data'; dataUrl: string; } | { kind: 'blobUrl'; blobUrl: string; } | { kind: 'blob'; blob: Blob; } | { kind: 'file'; file: File; }
• 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 |
IUserWithPermission |
The user information. |
options? |
IBindPresenceOptions |
- |
Promise<void>
A promise that resolves when the binding is complete.