This website requires JavaScript.
Explore
Help
Sign In
JLNTV_IPD
/
tmagic-editor
Watch
4
Star
0
Fork
0
You've already forked tmagic-editor
mirror of
https://github.com/Tencent/tmagic-editor.git
synced
2025-04-05 19:41:40 +08:00
Code
Issues
Projects
Releases
Wiki
Activity
tmagic-editor
/
docs
/
api
/
editor
/
historyServiceMethods.md
roymondchen
f6262be397
docs: 1.2.0文档
2022-12-01 17:38:05 +08:00
1.2 KiB
Raw
Blame
History
historyService方法
reset
详情:
重置记录
changePage
参数:
{
MPage
} page
详情:
按页面切换历史堆栈
empty
详情:
重置记录,同
reset
push
参数:
{
StepValue
} state
返回:
{
StepValue
| null}
详情:
添加一条历史记录
undo
返回:
{Promise<
StepValue
| null>}
详情:
撤销当前操作
redo
返回:
{Promise<
StepValue
| null>}
详情:
恢复到下一步
destroy
详情:
销毁