mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-05-18 10:25:58 +08:00
feat(stage): 新增清除高亮方法
This commit is contained in:
parent
476b1d4ecb
commit
ee3ad63aa3
@ -125,6 +125,10 @@ export default class StageCore extends EventEmitter {
|
|||||||
this.actionManager.highlight(idOrEl);
|
this.actionManager.highlight(idOrEl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public clearHighlight(): void {
|
||||||
|
this.actionManager.clearHighlight();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 更新组件
|
* 更新组件
|
||||||
* @param data 更新组件的数据
|
* @param data 更新组件的数据
|
||||||
|
Loading…
x
Reference in New Issue
Block a user