This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch test-helper-2 in repository https://gitbox.apache.org/repos/asf/echarts.git
commit 6e873225230d27342e747ac98339bfab060a9124 Author: 100pah <[email protected]> AuthorDate: Thu Jun 26 13:31:29 2025 +0800 test: clarify mktest tpl. --- test/build/mktest-tpl.html | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/test/build/mktest-tpl.html b/test/build/mktest-tpl.html index 15a0cec0a..629e3353f 100644 --- a/test/build/mktest-tpl.html +++ b/test/build/mktest-tpl.html @@ -78,7 +78,10 @@ under the License. '(Muliple lines and **emphasis** are supported in description)' ], option: option, - // + + // ============================================================== + // ! Delete the content below if you do not need them ! + // -------------------------- Optional settings: -------------------------- // height: 400, // Optional. Specify a different chart height. // draggable: true, // Optional. Add a draggable button to mutify the chart size. @@ -93,7 +96,7 @@ under the License. inputs: [ // Optional. The following are sample inputs: { type: 'select', - text: '(sample) boundingRect:', + text: '(delete me if no need) boundingRect:', values: [false, true, undefined, {color: 'rgba(255,0,0,0.8)', silent: false}], onchange: function () { chart.__testHelper.boundingRect(this.value); @@ -101,7 +104,7 @@ under the License. }, { type: 'range', - text: '(sample) symbolSize:', + text: '(delete me if no need) symbolSize:', // min: -100, // Optional. // max: 100, // Optional. // value: 50, // Optional. @@ -112,7 +115,7 @@ under the License. }, { type: 'select', - text: '(sample range embedded select) grid.left:', + text: '(delete me if no need) (range embedded select) grid.left:', options: [ {value: undefined}, {value: 30}, @@ -128,7 +131,7 @@ under the License. type: 'br', // line break }, { - text: '(sample) print failures to screen', + text: '(delete me if no need) print failures to screen', onclick: function () { testHelper.printAssert('{{TPL_DOM_ID}}', function (assert) { assert(true); @@ -136,7 +139,7 @@ under the License. } }, { - text: '(sample) copy option to clipboard', + text: '(delete me if no need) copy option to clipboard', onclick: function () { // console.log(testHelper.printObject(option)); testHelper.clipboard(option); @@ -145,6 +148,10 @@ under the License. ] // End of `inputs` + // ! Delete the content above if you do not need them ! + // ============================================================== + + }); // End of `testHelper.create` }); // End of `require` --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
