Built with Electron
Lightgallery works across operating systems. You can use it on OS X, Windows, or Linux.
LightGallery comes with numerous number of beautiful inbuilt animations.
You also have the option to enable animatedthumbnails from the settings.
Zoom & Fullscreen
You can double-click on the image to see its actual size. Zoom-in and zoom-out controls can be used for changing the zoom values of the image.
Mouse Drag & keyboard Navigations
Lightgallery allows users to navigate between slides via mouse drag and keyboard arrows.
|| Type of transition between images. lightGallery comes with lots of transition effects such as
||Type of easing to be used for animations|
||Transition duration (in ms).|
||Delay for hiding gallery controls in ms|
||force lightgallery to use css left property instead of transform.|
||allows clicks on dimmer to close gallery.|
||Enable keyboard navigation|
||Enable slideEnd animation|
||Change slide on mousewheel|
||Number of preload slides. will exicute only after the current slide is fully loaded. ex:// you clicked on 4th image and if preload = 1 then 3rd slide and 5th slide will be loaded in the background after the 4th slide is fully loaded.. if preload is 2 then 2nd 3rd 5th 6th slides will be preloaded|
||Show Content once it is fully loaded|
||Whether to show total number of images and index number of currently displayed image.|
||By setting the swipeThreshold (in px) you can set how far the user must swipe for the next/prev image.|
||Enables desktop mouse drag support|
||Enable thumbnails for the gallery|
||Enable thumbnail animation.|
|| Position of selected thumbnail.
||Width of each thumbnails.|
||Height of the thumbnail container including padding and border|
||Spacing between each thumbnails|
|toogleThumb||true||Whether to display thumbnail toggle button.|
||Enables desktop mouse drag support for thumbnails.|
||By setting the swipeThreshold (in px) you can set how far the user must swipe for the next/prev slide.|
||Enable gallery autoplay|
||The time (in ms) between each auto transition.|
||Enable autoplay progress bar|
||Show/hide autoplay controls.|
||Enable/Disable zoom option|
||Value of zoom should be incremented/decremented|
转载本站任何文章请注明：转载至神刀安全网，谢谢神刀安全网 » A modern, electron and nodejs based image viewer for Mac, Windows and Linux.