tmagic-editor/docs/assets/api_editor_historyServiceEvents.md.C1j3FNrL.js
2025-06-20 12:18:00 +00:00

2 lines
1.5 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{aw as t,y as a,z as r,b0 as o}from"./chunks/framework.D8kQE4ce.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 &quot;historyService事件&quot;"></a></h1><h2 id="page-change" tabindex="-1">page-change <a class="header-anchor" href="#page-change" aria-label="Permalink to &quot;page-change&quot;"></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>) =&gt; void</p></li></ul><h2 id="change" tabindex="-1">change <a class="header-anchor" href="#change" aria-label="Permalink to &quot;change&quot;"></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>) =&gt; void</p></li></ul>',5)]))}const u=t(i,[["render",n]]);export{g as __pageData,u as default};