Constructor
new Gallery()
- Source:
- See:
Example
<Gallery
head={true}
lightGallery={{
jsUrl: '/path/to/lightgallery.min.js',
cssUrl: '/path/to/lightgallery-bundle.min.css'
}}
justifiedGallery={{
jsUrl: '/path/to/justified-gallery.js',
cssUrl: '/path/to/justified-gallery.css'
}} />
Members
(static) Cacheable
Cacheable lightGallery and Justified Gallery plugins JSX component.
This class is supposed to be used in combination with the locals hexo filter
(module:hexo/filter/locals).
- Source:
- See:
Example
<Gallery.Cacheable
head={true}
helper={{ cdn: function() {...} }} />