Skip to content
EN

Interface: EditorUiHost ​

Methods ​

toast()? ​

ts
toast?(level, message): void;

Parameters ​

ParameterType
levelstring
messagestring

Returns ​

void


notify()? ​

ts
notify?(message): void;

Parameters ​

ParameterType
messagestring

Returns ​

void


openPanel()? ​

ts
openPanel?(panelId): void;

Parameters ​

ParameterType
panelIdstring

Returns ​

void


dialog()? ​

ts
dialog?<T>(options): Promise<T | null>;

Type Parameters ​

Type ParameterDefault type
Tunknown

Parameters ​

ParameterType
optionsRecord<string, unknown>

Returns ​

Promise<T | null>

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