Gallery

view/plugin/gallery~ Gallery

Light Gallery and Justified Gallery plugins JSX component.

Constructor

Source:
See:
Example
<Gallery
    head={true}
    lightGallery={{
        jsUrl: '/path/to/lightgallery.js',
        cssUrl: '/path/to/lightgallery.css'
    }}
    justifiedGallery={{
        jsUrl: '/path/to/justifiedGallery.js',
        cssUrl: '/path/to/justifiedGallery.css'
    }} />

Members

(static) Cacheable

Cacheable Light Gallery 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() {...} }} />