summaryrefslogtreecommitdiff
path: root/loleaflet/README
diff options
context:
space:
mode:
authorMihai Varga <mihai.varga@collabora.com>2015-09-07 16:36:45 +0300
committerMihai Varga <mihai.varga@collabora.com>2015-09-07 17:20:20 +0300
commit12da97f3942631ab646aa162b5430cec54b07673 (patch)
tree82d1d32af5ef3d7847939dbdf5c1893691d73b6b /loleaflet/README
parentee34470c733f0031b22af548f64c3802443a717c (diff)
loleaflet: mention about removePreviewUpdate
Diffstat (limited to 'loleaflet/README')
-rw-r--r--loleaflet/README5
1 files changed, 5 insertions, 0 deletions
diff --git a/loleaflet/README b/loleaflet/README
index 28c240d50..cd97f1d86 100644
--- a/loleaflet/README
+++ b/loleaflet/README
@@ -97,6 +97,9 @@ Parts (like slides in presentation, or sheets in spreadsheets):
+ options = {autoUpdate: true} - automatically updates the previews
map.getNumberOfParts()
map.getCurrentPartNumber()
+ map.removePreviewUpdate(id)
+ + id = the preview's id
+
- events:
map.on('updateparts', function (e) {}) where:
+ e.currentPart is the current part
@@ -177,6 +180,8 @@ Writer pages:
image might be returned in order to keep the original ratio of the document
+ x/y = starting position, where to get the preview from
+ options = {autoUpdate: true} - automatically updates the previews
+ map.removePreviewUpdate(id)
+ + id = the preview's id
- events
map.on('pagenumberchanged', function (e) {}) where: