Skip to content
EN

Interface: EditorTransactionApi ​

Editor write gateway; document writes must go through this API.

Properties ​

PropertyModifierType
editablereadonlyboolean

Methods ​

apply()? ​

ts
apply?(ops): boolean | Promise<boolean>;

Parameters ​

ParameterType
opsreadonly EditorSceneOp[]

Returns ​

boolean | Promise<boolean>


begin()? ​

ts
begin?(label?): EditorTransactionHandle | null;

Parameters ​

ParameterType
label?string

Returns ​

EditorTransactionHandle | null

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