[Libreoffice-commits] online.git: Branch 'distro/collabora/milestone-4' - loleaflet/README

Mihai Varga mihai.varga at collabora.com
Mon Sep 7 06:28:32 PDT 2015


 loleaflet/README |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit efcb9b6b9d2c3d675522f5fca5e8aeb38079d834
Author: Mihai Varga <mihai.varga at collabora.com>
Date:   Mon Sep 7 16:28:10 2015 +0300

    loleaflet: mention about tilepreview event

diff --git a/loleaflet/README b/loleaflet/README
index 672dc0f..366282e 100644
--- a/loleaflet/README
+++ b/loleaflet/README
@@ -104,6 +104,13 @@ Parts (like slides in presentation, or sheets in spreadsheets):
             + [e.partNames] if present, part names (e.g. sheet names)
         map.on('invalidatepreview', function (e) {})
             + e.id = the preview's id
+        map.on('tilepreview', function (e) {}) where:
+            + e.tile - the preview image
+            + e.id - the preview id
+            + e.width - widht of the image
+            + e.height - height of the image
+            + [e.part] - if the preview is for a part
+            + e.docType
 
 Statusindicator (when the document is loading):
     - events


More information about the Libreoffice-commits mailing list