Object
The image resize option used in the image resize configuration.
Properties
-
icon : String
module:image/imageresize/imageresizebuttons~ImageResizeOption#icon
An icon used by an individual resize button (see the name
property to learn more).
Available icons are: 'small'
, 'medium'
, 'large'
, 'original'
.
-
label : String
module:image/imageresize/imageresizebuttons~ImageResizeOption#label
An option label displayed in the dropdown or, if the feature is configured using
individual buttons, a tooltip
and an ARIA attribute of a button.
If not specified, the label is generated automatically based on the value
option and the
config.image.resizeUnit
.
-
name : String
module:image/imageresize/imageresizebuttons~ImageResizeOption#name
The name of the UI component that changes the image size.
- If you configure the feature using individual resize buttons, you can refer to this name in the
image toolbar configuration.
- If you configure the feature using the resize dropdown, this name will be used for a list item in the dropdown.
-
value : String
module:image/imageresize/imageresizebuttons~ImageResizeOption#value
The value of the resize option without the unit
(configured separately). null
resets an image to its original size.
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing?
Please report it via our issue tracker.