gridjs-spreadsheet
Advanced tools
Comparing version 22.11.3 to 22.11.4
{ | ||
"name": "gridjs-spreadsheet", | ||
"version": "22.11.3", | ||
"version": "22.11.4", | ||
"description": "A simple library allows you to view and edit spreadsheet documents with ease.", | ||
@@ -5,0 +5,0 @@ "main": "xspreadsheet.js", |
@@ -22,4 +22,4 @@ # gridjs-spreadsheet | ||
<!-- other dependency end --> | ||
<link rel="stylesheet" href="https://unpkg.com/gridjs-spreadsheet@22.11.3/xspreadsheet.css"> | ||
<script src="https://unpkg.com/gridjs-spreadsheet@22.11.3/xspreadsheet.js"></script> | ||
<link rel="stylesheet" href="https://unpkg.com/gridjs-spreadsheet@22.11.4/xspreadsheet.css"> | ||
<script src="https://unpkg.com/gridjs-spreadsheet@22.11.4/xspreadsheet.js"></script> | ||
@@ -115,8 +115,6 @@ <script> | ||
```javascript | ||
const s = new Spreadsheet("#x-spreadsheet-demo") | ||
// event of click on cell | ||
s.on('cell-selected', (cell, ri, ci) => {}); | ||
s.on('cells-selected', (cell, { sri, sci, eri, eci }) => {}); | ||
xs.on('cell-selected', (cell, ri, ci) => {}); | ||
xs.on('cells-selected', (cell, { sri, sci, eri, eci }) => {}); | ||
// edited on cell | ||
s.on('cell-edited', (text, ri, ci) => {}); | ||
xs.on('cell-edited', (text, ri, ci) => {}); | ||
``` | ||
@@ -126,5 +124,5 @@ | ||
```javascript | ||
const s = new Spreadsheet("#x-spreadsheet-demo") | ||
// cellText(ri, ci, text, sheetIndex = 0) | ||
s.cellText(5, 5, 'xxxx').cellText(6, 5, 'yyy').reRender(); | ||
xs.cellText(5, 5, 'xxxx',0).cellText(6, 5, 'yyy',0).reRender(); | ||
``` | ||
@@ -134,7 +132,7 @@ | ||
```javascript | ||
const s = new Spreadsheet("#x-spreadsheet-demo") | ||
// cell(ri, ci, sheetIndex = 0) | ||
s.cell(ri, ci); | ||
xs.cell(ri, ci); | ||
// cellStyle(ri, ci, sheetIndex = 0) | ||
s.cellStyle(ri, ci); | ||
xs.cellStyle(ri, ci); | ||
``` | ||
@@ -141,0 +139,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
790004
185