Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.

Commit 29af4ba

Browse files
author
Francois-Xavier Gentilhomme
committed
[FIX] fixes on-demand export
1 parent ef58651 commit 29af4ba

File tree

13 files changed

+44
-4709
lines changed

13 files changed

+44
-4709
lines changed

docs/components/myscript-common-element/analysis.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@
706706
"params": []
707707
},
708708
{
709-
"name": "askForExport",
709+
"name": "exportContent",
710710
"description": "Trigger export",
711711
"privacy": "public",
712712
"sourceRange": {

docs/components/myscript-common-element/myscript-common-element.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
<paper-fab mini src$="[[importPath]]redo.svg" title="redo" on-tap="redo"
178178
disabled="[[ !canredo ]]" hidden="[[ disableundoredocontrol ]]">
179179
</paper-fab>
180-
<paper-fab mini src$="[[importPath]]export.svg" title="export" on-tap="askForExport"
180+
<paper-fab mini src$="[[importPath]]export.svg" title="export" on-tap="exportContent"
181181
disabled="[[ !canexport ]]" hidden="[[ disableexportcontrol ]]">
182182
</paper-fab>
183183
<paper-fab mini src$="[[importPath]]convert.svg" title="convert" on-tap="convert"
@@ -707,9 +707,9 @@
707707
/**
708708
* Trigger export
709709
*/
710-
askForExport(exports) {
710+
exportContent(exports) {
711711
if (this.editor) {
712-
this.editor.askForExport(exports);
712+
this.editor.exportContent(exports);
713713
}
714714
}
715715

@@ -760,4 +760,4 @@
760760

761761
customElements.define(MyScriptCommonElement.is, MyScriptCommonElement);
762762
</script>
763-
</dom-module>
763+
</dom-module>

0 commit comments

Comments
 (0)