When you use AMD make sure that lightgallery.js is loaded before lightgallery modules.Menus Icon Bar Menu Icon Accordion Tabs Vertical Tabs Tab Headers Full Page Tabs Hover Tabs Top Navigation Responsive Topnav Split Navigation Navbar with Icons Search Menu Search Bar Fixed Sidebar Side Navigation Responsive Sidebar Fullscreen Navigation Off-Canvas Menu Hover Sidenav Buttons Sidebar with Icons Horizontal Scroll Menu Vertical Menu Bottom Navigation Responsive Bottom Nav Bottom Border Nav Links Right Aligned Menu Links Centered Menu Link Equal Width Menu Links Fixed Menu Slide Down Bar on Scroll Hide Navbar on Scroll Shrink Navbar on Scroll Sticky Navbar Navbar on Image Hover Dropdowns Click Dropdowns Cascading Dropdown Dropdown in Topnav Dropdown in Sidenav Resp Navbar Dropdown Subnavigation Menu Dropup Mega Menu Mobile Menu Curtain Menu Collapsed Sidebar Collapsed Sidepanel Pagination Breadcrumbs Button Group Vertical Button Group Sticky Social Bar Pill Navigation Responsive Header LightGallery also supports AMD, CommonJS and ES6 modules. If you want to include any lightgallery plugin you can include it after. Then include jQuery and into your document. Include CSS and Javascript filesįirst of all add lightgallery.css in the of the document. Here is the jsdelivr collection of lightGallery and its modules. If you prefer to use a CDN you can load files via jsdelivr You can also directly download lightgallery from github. $ npm install lightgallery lg-thumbnail lg-autoplay lg-video lg-fullscreen lg-pager lg-zoom lg-hash lg-share Download from Github Or Install all modules together $ bower install lightgallery lg-thumbnail lg-autoplay lg-video lg-fullscreen lg-pager lg-zoom lg-hash lg-share npm You can Install lightgallery and its modules using the Bower 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |