Skip to content

Export and import scripts / Hm05Script / ExporterDefinition

Interface: ExporterDefinition<O> ​

Type Parameters ​

Type ParameterDefault type
ORecord<string, any>

Properties ​

PropertyTypeDescription
description?string-
namestringshown in the Format list
options?OptionField[]extra fields in the Export dialog; their values arrive as options
version?string-

Methods ​

run() ​

ts
run(api, options): void | Promise<void>;

does the export. Throw an Error to stop with a message.

Parameters ​

ParameterType
apiApi
optionsO

Returns ​

void | Promise<void>

HereSplash — 2D animation for the web