diff options
author | Mihai Varga <mihai.varga@collabora.com> | 2015-08-12 19:54:32 +0300 |
---|---|---|
committer | Mihai Varga <mihai.varga@collabora.com> | 2015-08-12 19:54:32 +0300 |
commit | 6994e4422208960436ddc85019ddfb0435c0a62c (patch) | |
tree | 07e350e39948f052de7186641da87ab7938d0b67 /loleaflet/README | |
parent | f8c0f0b14328e2116838671837c311328d5dc5b7 (diff) |
loleaflet: getDocType method
Diffstat (limited to 'loleaflet/README')
-rw-r--r-- | loleaflet/README | 2 |
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 |