xspreadsheet
xspreadsheet copied to clipboard
Where is documentation and minified files
I was wondering were the minified js files are What about documentation and usage examples?
@drnkwati
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="spreadsheet.css"></link>
<script type="text/javascript" src="bundle.js"></script>
<script type="text/javascript">
window.onload = function () {
xspreadsheet(document.getElementById('wrapper'))
}
</script>
<title>TypeScript with VSCode</title>
</head>
<body>
<div id="wrapper"></div>
</body>
</html>
Then how do i get the data programmatically? I need to know the API, and how to export the data Without proper documentation or examples this library will be useless
const x = xspreadsheet(document.getElementById('#id'))
x.change = (data) => {
console.log('data:', data)
}
// edit
// data is param in the change method
xspreadsheet(document.getElementById('#id'), {d: data})