feat: add print mode #236

This commit is contained in:
Hufe921
2023-08-10 23:56:50 +08:00
parent b54b66d3d4
commit fd31b3e78c
10 changed files with 125 additions and 51 deletions
+6 -1
View File
@@ -1,4 +1,4 @@
import { EditorZone } from '../dataset/enum/Editor'
import { EditorMode, EditorZone } from '../dataset/enum/Editor'
import { IElement, IElementPosition } from './Element'
import { IRow } from './Row'
@@ -45,3 +45,8 @@ export interface IGetValueOption {
export interface IAppendElementListOption {
isPrepend?: boolean
}
export interface IGetImageOption {
pixelRatio?: number
mode?: EditorMode
}