feat: add zone change listener

This commit is contained in:
Hufe921
2023-04-04 19:57:33 +08:00
parent 72e97b7883
commit 86871c310b
3 changed files with 16 additions and 3 deletions
+4 -2
View File
@@ -1,4 +1,4 @@
import { ElementType, PageMode } from '..'
import { EditorZone, ElementType, PageMode } from '..'
import { RowFlex } from '../dataset/enum/Row'
import { IControl } from './Control'
import { IEditorResult } from './Editor'
@@ -37,4 +37,6 @@ export type IContentChange = () => void
export type IControlChange = (payload: IControl | null) => void
export type IPageModeChange = (payload: PageMode) => void
export type IPageModeChange = (payload: PageMode) => void
export type IZoneChange = (payload: EditorZone) => void