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
Prop | commonCode |
---|---|
Type | string |
Default | undefined |
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.
Parameter | Type | Default |
---|---|---|
code | string | undefined |