Interface: EditorTransactionApi
Editor write gateway; document writes must go through this API.
Properties
| Property | Modifier | Type |
|---|---|---|
editable | readonly | boolean |
Methods
apply()?
ts
apply?(ops): boolean | Promise<boolean>;Parameters
| Parameter | Type |
|---|---|
ops | readonly EditorSceneOp[] |
Returns
boolean | Promise<boolean>
begin()?
ts
begin?(label?): EditorTransactionHandle | null;Parameters
| Parameter | Type |
|---|---|
label? | string |
Returns
EditorTransactionHandle | null
