jspreadsheet 8.1.15 → 8.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -2
- package/dist/index.js +390 -390
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -224,7 +224,7 @@ declare namespace jspreadsheet {
|
|
|
224
224
|
/** When the spreadsheet needs to save something in the server. */
|
|
225
225
|
persistence?: (method: String, args: Object) => void;
|
|
226
226
|
/** When the user opens the context menu. */
|
|
227
|
-
contextMenu?: (instance: Object, x:
|
|
227
|
+
contextMenu?: (instance: Object, x: number, y: number, e: MouseEvent, items:Array<ContextmenuItem> , section: String, a: any, b?: any) => void;
|
|
228
228
|
/** When the toolbar is create and clicked. */
|
|
229
229
|
toolbar?: (instance: Object, toolbar: Toolbar) => void;
|
|
230
230
|
}
|
|
@@ -578,7 +578,7 @@ declare namespace jspreadsheet {
|
|
|
578
578
|
/** Get the worksheet by its id */
|
|
579
579
|
getWorksheet: (id: String) => Number;
|
|
580
580
|
/** Get the active worksheet when applicable */
|
|
581
|
-
getWorksheetActive: () =>
|
|
581
|
+
getWorksheetActive: () => number;
|
|
582
582
|
/** Get the worksheet instance by its position */
|
|
583
583
|
getWorksheetInstance: (position: Number) => worksheetInstance;
|
|
584
584
|
/** HTMLElement Helper */
|