Skip to content

Releases: maximzaika/TwoWayGallery-With-JS

tw-gallery-v2.07

17 Mar 13:48
8795f86
Compare
Choose a tag to compare
  • TwoWay Gallery v2.07:
    • twoWayGallery.js:
      • fully commented
      • this.eventSGalClickTouch function: reduced the time required to disable the touch event on the mGallery.
      • Previously it was scrolling at the same time user is scrolling the page.
      • Also, increased the distance required for the finger to travel to initiate the touch event.
      • this.verifyInput function: added error checking whether length of images and description are equal. To ensure that error does not propagate and no human errors are made.
      • this.prev & this.next functions: removed twConf that initiated this.setConfig each time. It is no longer required and was just doing unnecessary action.
      • renamed few variables here and there but it does not affect overall logic at all.
    • twoWayGallery.css:
      • fully commented
      • added grab cursor to sGallery when pressed and hold happens

tw-gallery-v2.04

15 Mar 14:51
5f78aa0
Compare
Choose a tag to compare
  • modified function this.eventSGalClickTouch to ensure that event is always listening once and to document.body instead of the document. Event mouseup is not listening only when mousedown on the twsSlider is triggered.
  • this.eventMGalArrowKeys is now enables the listening for arrow keys when the gallery is in viewport based on the scroll event
  • option navigationShowOnHover has been fixed. Setting it to true was not making any changes to the gallery.

tw-gallery-v2.01

13 Mar 09:08
da2c603
Compare
Choose a tag to compare

Finalised product that includes finalised following options:

  • imagesArray
  • twGalleryClass
  • directory
  • descriptionArray
  • descriptionType
  • startItem
  • displayItems
  • enableArrowKeys
  • enableTouch
  • autoPlayEnable
  • autoPlayTimeout
  • autoPlayDirection
  • autoPlayPauseOnHover
  • autoPlayPauseNotification
  • autoPlayPauseNotificationText
  • navigationEnable
  • navigationShowOnHover
  • navigationIcons
  • sGalleryEnable
  • sGalleryInstant
  • sGalleryDesktopTouch
  • sGalleryNavigationArrows
  • sGalleryNavigationIcons