Reference
Nodes
Resources
TypeScript Client

TypeScript Client Resource

The TypeScript Client Resource makes it possible to programmatically extend Dynaboard client-side with custom functionality.

All code executed is executed inside of a WebAssembly-based sandbox on the main thread of Dynaboard, so you have synchronous access to most browser APIs.

Supported Browser APIs

  • localStorage
  • sessionStorage

Properties

Common Code

PropcommonCode
Typestring
Defaultundefined

This code will be added to the top of all this resource's functions. Use it to share common functions or libraries.

Actions

Call Client Function

Calls a TypeScript function client-side, executing it within the QuickJS WebAssembly VM.

ParameterTypeDefault
codestringundefined