Releases: maximzaika/TwoWayGallery-With-JS
Releases · maximzaika/TwoWayGallery-With-JS
tw-gallery-v2.07
- 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
- twoWayGallery.js:
tw-gallery-v2.04
- 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
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