Skip to content

tw-gallery-v2.07

Latest
Compare
Choose a tag to compare
@maximzaika maximzaika released this 17 Mar 13:48
· 2 commits to main since this release
8795f86
  • 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