feat:image particle display mode

This commit is contained in:
黄云飞
2022-09-06 17:46:47 +08:00
parent 838373ae76
commit 0020334db9
5 changed files with 25 additions and 10 deletions
+6 -1
View File
@@ -1,4 +1,4 @@
import { ControlComponent } from '../dataset/enum/Control'
import { ControlComponent, ImageDisplay } from '../dataset/enum/Control'
import { ElementType } from '../dataset/enum/Element'
import { RowFlex } from '../dataset/enum/Row'
import { ICheckbox } from './Checkbox'
@@ -74,6 +74,10 @@ export interface IDateElement {
dateId?: string;
}
export interface IImageElement {
imgDisplay?: ImageDisplay
}
export type IElement = IElementBasic
& IElementStyle
& ITable
@@ -84,6 +88,7 @@ export type IElement = IElementBasic
& ICheckboxElement
& ILaTexElement
& IDateElement
& IImageElement
export interface IElementMetrics {
width: number;