From 60d6c5f3e46b887806e252d5dea1f04715a81e0d Mon Sep 17 00:00:00 2001 From: Victor Häggqvist Date: Sat, 16 Jan 2016 22:00:36 +0100 Subject: write some docs and fixup demo --- docs/plugins.rst | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docs/plugins.rst (limited to 'docs/plugins.rst') 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 + + + My Caption + + +Navigation + Displays navigation dots that can be used to jump between images. -- cgit v1.2.3