ThumbnailConfig
Syntax
interface ThumbnailConfig extends BrowseViewerConfig {
position?: string;
size?: string;
visibility?: string;
}
Extends
Attributes
position
Specify the position of the thumbnail view box displayed on the main eidt viewer.
Supported value: left
, right
, top
, bottom
Default value: left
Remark
If you see a blank display after importing images, it is because the size is too small and rows&columns exceeds, please adjust the size
or rows
&columns
.
size
Specify the width or height of thumbnail. Supports unit px
or %
, for example, "100px"
or "10%"
.
Remark
- When
position
is set toleft
orright
,size
means the width of thumbnail. - When
position
is set totop
orbottom
,size
means the height of thumbnail.
visibility
Specify whether to show the thumbnail when an edit viewer is created and shown.
Supported value: hidden
, visible
Default value: hidden