Browse Source

docs(demo): demo

demo add feature js
master
mengshukeji 5 years ago
parent
commit
37c56ac416
  1. 1
      docs/guide/README.md
  2. 1
      docs/zh/guide/README.md
  3. 0
      src/demoData/demoFeature.js
  4. 7
      src/index.html

1
docs/guide/README.md

@ -136,6 +136,7 @@ After `npm run build`, all files in the `dist` folder are copied to the project
<link rel='stylesheet' href='./plugins/css/pluginsCss.css' /> <link rel='stylesheet' href='./plugins/css/pluginsCss.css' />
<link rel='stylesheet' href='./plugins/plugins.css' /> <link rel='stylesheet' href='./plugins/plugins.css' />
<link rel='stylesheet' href='./css/luckysheet.css' /> <link rel='stylesheet' href='./css/luckysheet.css' />
<link rel='stylesheet' href='./assets/iconfont/iconfont.css' />
<script src="./plugins/js/plugin.js"></script> <script src="./plugins/js/plugin.js"></script>
<script src="./luckysheet.umd.js"></script> <script src="./luckysheet.umd.js"></script>
``` ```

1
docs/zh/guide/README.md

@ -137,6 +137,7 @@ npm run build
<link rel='stylesheet' href='./plugins/css/pluginsCss.css' /> <link rel='stylesheet' href='./plugins/css/pluginsCss.css' />
<link rel='stylesheet' href='./plugins/plugins.css' /> <link rel='stylesheet' href='./plugins/plugins.css' />
<link rel='stylesheet' href='./css/luckysheet.css' /> <link rel='stylesheet' href='./css/luckysheet.css' />
<link rel='stylesheet' href='./assets/iconfont/iconfont.css' />
<script src="./plugins/js/plugin.js"></script> <script src="./plugins/js/plugin.js"></script>
<script src="./luckysheet.umd.js"></script> <script src="./luckysheet.umd.js"></script>
``` ```

0
src/demoData/demoFeature.js

7
src/index.html

@ -16,6 +16,9 @@
<!-- rollup luckysheet.js --> <!-- rollup luckysheet.js -->
<script src="./luckysheet.umd.js"></script> <script src="./luckysheet.umd.js"></script>
<!-- demo feature, non-production use -->
<script src="./demoData/demoFeature.js"></script>
</head> </head>
<body> <body>
@ -55,7 +58,7 @@
], ],
data: data:
[sheetCell,sheetFormula,sheetConditionFormat,sheetSparkline,sheetTable,sheetComment,sheetPivotTableData,sheetPivotTable,sheetChart,sheetPicture,sheetDataVerification] [sheetCell,sheetFormula,sheetConditionFormat,sheetSparkline,sheetTable,sheetComment,sheetPivotTableData,sheetPivotTable,sheetChart,sheetPicture,sheetDataVerification]
/*[{"name":"Sheet1","config":{"columnlen":{"0":241},"rowlen":{"0":81,"17":100}},"index":"1","status":"1","order":"0","luckysheet_select_save":[{"row":[0,0],"column":[4,4],"sheetIndex":1}],"zoomRatio":1,"showGridLines":"1","defaultColWidth":72,"defaultRowHeight":18,"celldata":[ /*[{"name":"Sheet1","config":{"columnlen":{"0":241},"rowlen":{"0":81}},"index":"1","status":"1","order":"0","luckysheet_select_save":[{"row":[0,0],"column":[4,4],"sheetIndex":1}],"zoomRatio":1,"showGridLines":"1","defaultColWidth":72,"defaultRowHeight":18,"celldata":[
{"r":0,"c":0, {"r":0,"c":0,
"v":{ "v":{
"ct":{ "ct":{
@ -93,7 +96,7 @@
"qp":1, "qp":1,
} }
}, },
{"r":17,"c":2,"v":{"v":"Luckysheet is good project, this is true","ct":{"fa":"General","t":"g"},"bg":null,"bl":0,"it":0,"ff":0,"fs":"11","fc":"rgb(51, 51, 51)","ht":1,"vt":1,tb:2,"m":"Luckysheet"}} {"r":17,"c":2,"v":{"v":"Luckysheet","ct":{"fa":"General","t":"g"},"bg":null,"bl":0,"it":0,"ff":0,"fs":"11","fc":"rgb(51, 51, 51)","ht":1,"vt":1,"m":"Luckysheet"}}
],"calcChain":[]}]*/ ],"calcChain":[]}]*/
/* /*

Loading…
Cancel
Save