Plugin dependency - You need to include Share plugin in the document to use the following options. It supports adding your own social share button too. I want to add a previous/next button to show the previous/next image in the carousel. Most of them don't work and/or doesn't suit my need for loading the elements on request. lightGallery share plugin allows you to share your images/videos to social media platforms such as Twitter or Facebook with unique url. I am using the latest version of the " jQuery lightGallery" plugin. npm install lightgallery.js Download from Github You can also directly download lightgallery from github. bower install lightgallery.js Install with npm You can also find lightgallery on npm. which will provide you better suggestions for autocomplete. I am using lightGallery for a website and I wanted to add a 'load more' button to the gallery page, mostly for faster loading on mobile phones. You can Install lightgallery using the Bower package manager. Ng-lightgallery plays well with the typescript as the package is developed in typescript and includes the type declaration files, so feel free to use it with typescript and a nice editor like IntelliJ Idea, PhpStorm or WebStorm etc. Package includes a demo inside the /dist directory. You can find the list of methods in the docs. lightGallery provides several useful methods which can be used to customize the gallery or to build your own features. Go to Pages > Add New and click on Add Media button to open media uploader. You can use lightGallery plugin instance public methods to trigger specific lightGallery actions. This is an wrapper for Angular 1.x around the great light gallery plugin. Select from 3 responsive lightbox scripts (lightGallery, Lightcase.
0 Comments
Leave a Reply. |