summaryrefslogtreecommitdiff
path: root/docs/plugins.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/plugins.rst')
-rw-r--r--docs/plugins.rst25
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/plugins.rst b/docs/plugins.rst
new file mode 100644
index 0000000..f40112d
--- /dev/null
+++ b/docs/plugins.rst
@@ -0,0 +1,25 @@
+Plugins
+=======
+
+The plugins currently available in the standard distribution of Image LightBox are the following.
+
+ActivityIndicator
+ Displays an indicator when images are loading.
+
+Overlay
+ Overlays the page with a semitransparent layer when images are displayed.
+
+CloseButton
+ Displays a button in the top right corner that one should press to exit the lightbox
+
+Captions
+ Assuming a gallery of images with markup such as bellow, the `alt` attribute of the `img` tag will be used for caption of the image.
+
+ .. code-block:: html
+
+ <a href="https://example.com/image.jpg" data-imagelightbox="0">
+ <img src="https://example.com/image.jpg" alt="My Caption">
+ </a>
+
+Navigation
+ Displays navigation dots that can be used to jump between images.