TX Sheet Control

TypeScript API

Topic

TypeScript applications use the same packages as JavaScript applications, and their declarations ship with the packages. The TypeScript API documents three of them: the browser editor of @txtextcontrol/tx-sheet-control, the Node.js server of @txtextcontrol/tx-sheet-control-server and the Angular integration, which the editor package exports from @txtextcontrol/tx-sheet-control/angular. Choose the API of the application you are writing.

Next to the runtime classes, functions, constants and enumerations of the JavaScript API, the TypeScript API additionally lists the interfaces and type aliases that describe the values of the API, such as SpreadsheetOptions. They exist only for the compiler: an interface is never called as a constructor. The type names in a signature describe the values a member accepts and do not mean that you install separate helper packages.

The Three APIs

Browser EditorNode.js ServerAngular
Package@txtextcontrol/tx-sheet-control@txtextcontrol/tx-sheet-control-server@txtextcontrol/tx-sheet-control/angular
Start withSpreadsheet and SpreadsheetOptionsServerSheetControl and ServerSheetControlOptionsTXSheetControlComponent
Classes and interfaces35 classes, 161 interfaces32 classes, 154 interfaces3 classes, 6 interfaces
Type aliases, functions, constants, enumerations27, 12, 9 and 130, 1, 1 and 13, 3, 2 and 1
GuideTypeScript in Getting StartedNode.js in Getting StartedAngular in Getting Started

Workbook handles are obtained from their owner; the related object-model types listed in a reference are not an instruction to import extra packages.

Find the Right Page

If you want toRead
Type the options and the workbook of the browser editorBrowser Editor
Write a backend job in TypeScript with the server packageNode.js Server
Bind the editor component in an Angular templateAngular

Pages in This Section

  • Browser Editor: the declarations of @txtextcontrol/tx-sheet-control.
  • Node.js Server: the declarations of @txtextcontrol/tx-sheet-control-server.
  • Angular: the Angular integration of the editor package.