loleaflet/README | 5 +++++ 1 file changed, 5 insertions(+) New commits: commit e076aee75ec90d7d699d8fe7c3c2accbcb19169d Author: Mihai Varga <mihai.va...@collabora.com> Date: Mon Sep 7 16:36:45 2015 +0300
loleaflet: mention about removePreviewUpdate diff --git a/loleaflet/README b/loleaflet/README index 366282e..0f6f575 100644 --- a/loleaflet/README +++ b/loleaflet/README @@ -96,6 +96,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 @@ -176,6 +179,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: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits