[]
        
(Showing Draft Content)

README

spreadjs-api

Table of contents

Enumerations

Classes

Interfaces

Type aliases

Functions

Type aliases

ISnapshotFragments

Ƭ ISnapshotFragments<S>: Object

Type parameters

Name Type
S unknown

Index signature

▪ [key: string]: S


SnapshotTypes

Ƭ SnapshotTypes: "current" | "byVersion"

Functions

documentFeature

documentFeature<S, T>(service?): IFeature

Creates a feature for operational transformation (OT) documents.

example

const server = new Server({ httpServer });
server.useFeature(documentFeature());

Type parameters

Name Type
S unknown
T unknown

Parameters

Name Type
service? DocumentServices<S, T>

Returns

IFeature

The OT document feature.