forked from sheetjs/docs.sheetjs.com
Create CNAME
This commit is contained in:
parent
6449ecc35e
commit
9865fa0037
1
Makefile
1
Makefile
@ -3,6 +3,7 @@ build:
|
||||
cd docz; pnpm build; cd ..
|
||||
rm -rf docs
|
||||
mv docz/build/ docs
|
||||
cp CNAME docs
|
||||
|
||||
.PHONY: index
|
||||
index: readme ## Rebuild site
|
||||
|
@ -50,7 +50,7 @@ more common use cases including plain JavaScript.
|
||||
4) Add an event handler for the `click` event to create a workbook and download:
|
||||
|
||||
```js
|
||||
document.getElementById("TableToExport").addEventListener('click', function() {
|
||||
document.getElementById("sheetjsexport").addEventListener('click', function() {
|
||||
/* Create worksheet from HTML DOM TABLE */
|
||||
var wb = XLSX.utils.table_to_book(document.getElementById("TableToExport"));
|
||||
/* Export to file (start a download) */
|
||||
|
Loading…
Reference in New Issue
Block a user