Skip to content
EN

Function: createScriptHandler() ​

ts
function createScriptHandler(options): Promise<ComponentHandler>;

Loads a built script manifest/bundle and returns a ready-to-inject suity.script component handler (docs/140 S3).

Parameters ​

ParameterType
optionsScriptHandlerOptions

Returns ​

Promise<ComponentHandler>

Suity 开发者文档 · API 由 TypeDoc 从声明文件生成