summaryrefslogtreecommitdiff
path: root/loleaflet/README
diff options
context:
space:
mode:
authorMihai Varga <mihai.varga@collabora.com>2015-08-12 19:54:32 +0300
committerMihai Varga <mihai.varga@collabora.com>2015-08-12 19:54:32 +0300
commit6994e4422208960436ddc85019ddfb0435c0a62c (patch)
tree07e350e39948f052de7186641da87ab7938d0b67 /loleaflet/README
parentf8c0f0b14328e2116838671837c311328d5dc5b7 (diff)
loleaflet: getDocType method
Diffstat (limited to 'loleaflet/README')
-rw-r--r--loleaflet/README2
1 files changed, 2 insertions, 0 deletions
diff --git a/loleaflet/README b/loleaflet/README
index 83650b925..e73726cf4 100644
--- a/loleaflet/README
+++ b/loleaflet/README
@@ -135,6 +135,8 @@ Scroll (the following are measured in pixels):
+ returns the scroll offset relative to the beginning of the document
map.getDocSize()
+ returns the document's size in pixels
+ map.getDocType()
+ + returns 'text' | 'spreadsheet' | 'presentation' | 'drawing' | 'other'
- events
map.on('docsize', function (e) {}) where:
+ e.x = document width