feat:add control change callback

This commit is contained in:
Hufe921
2022-04-10 20:15:54 +08:00
parent ce8fbd0b91
commit b5b2c8ff6b
3 changed files with 31 additions and 1 deletions
+3
View File
@@ -1,5 +1,6 @@
import { ElementType } from '..'
import { RowFlex } from '../dataset/enum/Row'
import { IControl } from './Control'
import { IEditorResult } from './Editor'
export interface IRangeStyle {
@@ -32,3 +33,5 @@ export type IPageScaleChange = (payload: number) => void
export type ISaved = (payload: IEditorResult) => void
export type IContentChange = () => void
export type IControlChange = (payload: IControl | null) => void