v4.8.0
·
117 commits
to master
since this release
4.8.0 - 2021-06-16
Deprecated
Property ignoreNodeImgSize is deprecated. Use imageSizeAttributes: 'ignore' instead
Added
- new property:
imageSizeAttributes
Type: String | possible values: 'use', 'ignore', 'take-ratio' | Default: 'use'
If width and height attributes are set:
use - width & height attributes values will be used to calculate image size (according to user's DPR) and ratio.
take-ratio - width & height attributes values will be used only to calculate ratio.
ignore - width & height attributes will be ignored.
If width and height attributes are NOT set, image container size will be detected to calculate result image size (according to user's DPR)
Note: If only width or height attributes is set, ratio is going to be taken from ci-ratio image attribute