gristlabs_grist-core/app/plugin/RenderOptions.ts
Paul Fitzpatrick c6d66e15bf (core) configure typedoc for generating plugin api documentation
Summary:
This annotates the plugin api sufficiently to generate some documentation
for it. See https://github.com/gristlabs/grist-help/pull/139

Contains some small code tweaks for things that caused typedoc some
trouble.

Test Plan: manual inspection of output

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D3342
2022-04-04 18:11:33 -04:00

14 lines
235 B
TypeScript

/**
* Where to append the content that a plugin renders.
*
* @internal
*/
export type RenderTarget = "fullscreen" | number;
/**
* Options for the `grist.render` function.
*/
export interface RenderOptions {
height?: string;
}