poltinsta.blogg.se

Lightgallery for ionic2
Lightgallery for ionic2









lightgallery for ionic2
  1. #Lightgallery for ionic2 install
  2. #Lightgallery for ionic2 full
  3. #Lightgallery for ionic2 code

This is great code and I would like to help you - even if its only buying you a beer!īTW - the test site for the mobile version is at Updated: I see you have declined donations in the past, but if you change your mind - I would be happy to make one. I have not had this problem on the desktop - but I'm only recruiting lightGallery for the mobile site - so that's not much help! Thank you again for writing this. Is there a timeout i could set higher perhaps? I have reproduced this problem on my iphone and ipad in both chrome and safari.

#Lightgallery for ionic2 full

The reason I say they load correctly is because if I cycle all the way through the gallery when I return to the same image that was displayed cut off before - it displays the full image. Images seem to load correctly however sometimes (maybe 1 in 10 times) they are being displayed sort of "cut-off" at the bottom sometimes. Hello - thank you for writing lightGallery! I am having a fairly simple issue that I'm having trouble solving. If you are creating an open source application under a license compatible with the GNU GPL license v3, you may use this project under the terms of the GPLv3. Read more about the commercial license Open source license With this option, your source code is kept proprietary. If you want to use lightGallery to develop commercial sites, themes, projects, and applications, the Commercial license is the appropriate license.

#Lightgallery for ionic2 install

You can install lightgallery using the npm package manager. Lightgallery supports all major browsers including IE 8 and above. Smart image preloading and code optimization.Easily customizable via CSS (SCSS) and Settings.20+ Hardware-Accelerated CSS3 transitions.

lightgallery for ionic2

  • Youtube Vimeo Dailymotion VK and html5 videos Support.
  • Double-click/Double-tap to see actual size of the image.
  • Modular architecture with built in plugins.
  • But its not the most clever way because i dont know what lightGallery does beside listening to click and touch events to the childs of its container.Ĭonclusion: i think it would be an improvement to add a public function to destroy/remove the full functionality of lightGallery.LightGallery A customizable, modular, responsive, lightbox gallery plugin for jQuery. Workaround: before my filter does anything i remove all click and touch eventlistener from every image in the lightGallery container, i do my filtering and initialize lightGallery again. Try#2: When i initialize lightGallery after my content has changed, it opens on click at images which are "new" and turns black when i click at images which already were there at the first initialisation. Try#1: $("#container").lightGallery("destroy") do my filterings and $("#container").lightGallery() again. But image2 does nothing because of the missing eventListener (it was not in the lightGallery container when it gets initialized). When i change the filter to filtertype2 you can see that the first image still opens lightGallery because it is attatched to filtertype1 aswell.

    lightgallery for ionic2

    The scenario: We start at a page where filtertype1 is active. in this case called "filtertype1", "filtertype2", "filtertype3".

    lightgallery for ionic2

    To explain: every image can be in multiple categories. I use this filter method to prevent loading images again and to be able to add some animations. My page is not public yet, so i provide a jsfiddle for you:











    Lightgallery for ionic2