- Release v1.1.2 contains files from v1.1.1 #46
- inline styles are removed when exiting zoom #41
- generating a separate file for IE browser, rollup.config - typescript target [es6, es5]
- simplification of the 'overlay' styling
overlay: {
color: '#fff',
opacity: 80,
},
on
// overlay layer color and opacity, rgba, hsla, ...
overlay: "rgba(255, 255, 255, 0.9)",
- adding method and props in 'terser' mangle, adding an undeline
_zooomInit = () => {...}
terserOptions: {
mangle: {
properties: {
regex: /^_/,
},
},
},
This solution allowed to reduce the library by as much as 23%
- a new parameter
data-zooom-big
has been added. With its help, we can open a larger version of the photo - example-large-photo
This solution is needed to optimize the website. We only display a thumbnail, only by clicking it downloads the photo from thedata-zooom-big
parameter and zooms in.
<img
class="img-zoom"
loading="lazy"
width="576"
height="384"
data-zooom-big="large-image.jpg"
src="image-thumbnail.jpg"
/>
- style refactoring, reducing the size of the library
- update example
- callback function
onResize
- callback function, name change from
onCleared
toonClose
andonLoaded
toonOpen
- fix: scrollTop not always work #28
- New example - leading color
- Create a separate photo with styles for each click, fixed problem when photo is in overflow element
- fix: Fixed problem when photo is in overflow element
- Removal of style from main photo
- Replaced node-sass to sass
- The browserslist extension
- Remove interface ImageParameters
- UMD file
- Renaming a variable
- Banner from rollup.js
- Removed banner plugin
- New photos for example
- Adding vertical photos
- Example figure with picture
- Removed padding
- Converted to typescript
- Lightbox animation not always appearing #15
- Debounce to resize window
- Two helpers functions
onLoaded
,onCleared
- Changelog.md
- Change fade(in/out) from js to css
- Separate style