diff options
author | Mihai Varga <mihai.varga@collabora.com> | 2015-09-09 20:35:36 +0300 |
---|---|---|
committer | Mihai Varga <mihai.varga@collabora.com> | 2015-09-10 09:48:33 +0300 |
commit | c904486115109ea07b45fbbd7c1ce0a5a72d0e7b (patch) | |
tree | c55a537383dcd3d159caf38f1ebd912aa5c42fe7 /loleaflet/README | |
parent | d1ecdbc3df047ee9d42429a25a61ba0ec90f1612 (diff) |
loleaflet: use the commandvalues server cmd
Diffstat (limited to 'loleaflet/README')
-rw-r--r-- | loleaflet/README | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/loleaflet/README b/loleaflet/README index cd97f1d86..864d6616f 100644 --- a/loleaflet/README +++ b/loleaflet/README @@ -191,15 +191,6 @@ Writer pages: map.on('invalidatepreview', function (e) {}) + e.id = the preview's id -Styles: - - API: - map.getStyles() - + returns a JSON object as a mapping of style families to a list of styles - map.setStyle(style, familyName) - - events: - map.on('updatestyles', function (e) {}) where: - e.styles = a JSON object as a mapping of style families to a list of styles - Error: - events map.on('error', function (e) {}) where @@ -207,6 +198,15 @@ Error: + [e.cmd] = the command that caused the error + [e.kind] = the kind of error +CommandValues: + - api: + map.getToolbarCommandValues(command) + + returns a JSON mapping of all possible values for the command + - events + map.on('updatetoolbarcommandvalues', function (e) {}) where + + e.commandName = '.uno:StyleAplly', etc + + e.commandValues = a JSON mapping of all possible values for the command + Testing ------- - to simulate an editing session and to get the tile loading times |