mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-05 07:27:09 +08:00
2 lines
1.5 KiB
JavaScript
2 lines
1.5 KiB
JavaScript
import{aw as t,y as a,z as r,b0 as o}from"./chunks/framework.BCBheFgR.js";const g=JSON.parse('{"title":"historyService事件","description":"","frontmatter":{},"headers":[],"relativePath":"api/editor/historyServiceEvents.md","filePath":"api/editor/historyServiceEvents.md"}'),i={name:"api/editor/historyServiceEvents.md"};function n(s,e,c,l,h,d){return r(),a("div",null,e[0]||(e[0]=[o('<h1 id="historyservice事件" tabindex="-1">historyService事件 <a class="header-anchor" href="#historyservice事件" aria-label="Permalink to "historyService事件""></a></h1><h2 id="page-change" tabindex="-1">page-change <a class="header-anchor" href="#page-change" aria-label="Permalink to "page-change""></a></h2><ul><li><p><strong>详情:</strong> 页面切换</p></li><li><p><strong>回调函数:</strong> (undoRedo: <a href="https://github.com/Tencent/tmagic-editor/blob/239b5d3efeae916a8cf3e3566d88063ecccc0553/packages/editor/src/utils/undo-redo.ts" target="_blank" rel="noreferrer">undoRedo</a>) => void</p></li></ul><h2 id="change" tabindex="-1">change <a class="header-anchor" href="#change" aria-label="Permalink to "change""></a></h2><ul><li><p><strong>详情:</strong> 历史记录发生变化</p></li><li><p><strong>回调函数:</strong> (state: <a href="https://github.com/Tencent/tmagic-editor/blob/239b5d3efeae916a8cf3e3566d88063ecccc0553/packages/editor/src/type.ts#L400-L404" target="_blank" rel="noreferrer">StepValue</a>) => void</p></li></ul>',5)]))}const u=t(i,[["render",n]]);export{g as __pageData,u as default};
|