Skip to content

Releases: tomickigrzegorz/zooom.js

v1.1.3

10 Apr 21:47
Compare
Choose a tag to compare

Fixed

  • Release v1.1.2 contains files from v1.1.1 #46

v1.1.2

28 Mar 14:46
954cf0a
Compare
Choose a tag to compare

Fixed

  • Inline styles are removed when exiting zoom #41

v1.1.1

02 Feb 13:04
d6be08b
Compare
Choose a tag to compare

Added

  • generating a separate file for IE browser, rollup.config - typescript target [es6, es5]

Changed

  • 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)",

Build

  • adding method and props in 'terser' mangle, adding an undeline _zooomInit = () => {...}
terserOptions: {
  mangle: {
    properties: {
      regex: /^_/,
    },
  },
},

v1.1.0

04 Jan 15:16
Compare
Choose a tag to compare

Added

  • a new parameter data-zooom-big. 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 the data-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" />

v1.0.15

13 Oct 16:20
6a2bf9e
Compare
Choose a tag to compare

Changed

  • style refactoring, reducing the size of the library

v1.0.14

09 Oct 18:57
0bc7db2
Compare
Choose a tag to compare

Changed

  • update example showing how to change cursor when use callback function onResize

v1.0.13

17 Sep 16:50
213843a
Compare
Choose a tag to compare

Added

  • new callback function onResize

Changed

  • callback function, name change from onCleared to onClose and onLoaded to onOpen

v1.0.12

13 Jun 10:10
30b81a7
Compare
Choose a tag to compare
  • Fixed: ScrollTop not always work #28

v1.0.11

16 Apr 10:52
f49c53a
Compare
Choose a tag to compare
  • New example - leading color
  • Refactoring

v1.0.10

30 Mar 10:44
ac93644
Compare
Choose a tag to compare
  • Create a separate photo with styles for each click,
  • Fixed problem when photo is in overflow element
  • Replaced node-sass to sass
  • Change of additional styles
  • Remove interface ImageParameters