feat: add executeUpdateElementById api #648
This commit is contained in:
@@ -772,6 +772,16 @@ Usage:
|
||||
instance.command.executeAppendElementList(elementList: IElement[], options?: IAppendElementListOption)
|
||||
```
|
||||
|
||||
## executeUpdateElementById
|
||||
|
||||
Feature: Update element by id
|
||||
|
||||
Usage:
|
||||
|
||||
```javascript
|
||||
instance.command.executeUpdateElementById(payload: IUpdateElementByIdOption)
|
||||
```
|
||||
|
||||
## executeSetValue
|
||||
|
||||
Feature: Set the editor data
|
||||
|
||||
@@ -772,6 +772,16 @@ instance.command.executeInsertElementList(elementList: IElement[])
|
||||
instance.command.executeAppendElementList(elementList: IElement[], options?: IAppendElementListOption)
|
||||
```
|
||||
|
||||
## executeUpdateElementById
|
||||
|
||||
功能:根据 id 修改元素属性
|
||||
|
||||
用法:
|
||||
|
||||
```javascript
|
||||
instance.command.executeUpdateElementById(payload: IUpdateElementByIdOption)
|
||||
```
|
||||
|
||||
## executeSetValue
|
||||
|
||||
功能:设置编辑器数据
|
||||
|
||||
Reference in New Issue
Block a user