jspreadsheet 8.3.3 → 8.3.4
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 +3 -3
- package/dist/index.js +396 -396
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -404,7 +404,7 @@ declare namespace jspreadsheet {
|
|
|
404
404
|
/** When a new cell is created */
|
|
405
405
|
oncreatecell?: (worksheet: worksheetInstance, cell: HTMLElement, x: number, y: number, value: any) => void;
|
|
406
406
|
/** When a new row is created */
|
|
407
|
-
oncreaterow?: (worksheet: worksheetInstance, j: number,
|
|
407
|
+
oncreaterow?: (worksheet: worksheetInstance, j: number, tr: HTMLElement) => void;
|
|
408
408
|
/**
|
|
409
409
|
* Before execute a formula.
|
|
410
410
|
* @param {string} expression - formula to be executed.
|
|
@@ -740,7 +740,7 @@ declare namespace jspreadsheet {
|
|
|
740
740
|
/** Get all header elements */
|
|
741
741
|
getHeaders: (asArray: boolean) => Array<any>;
|
|
742
742
|
/** Get the height of one row by its position when height is defined. */
|
|
743
|
-
getHeight: (row?: number) => Array | number;
|
|
743
|
+
getHeight: (row?: number) => Array<number> | number;
|
|
744
744
|
/** Get the highlighted coordinates **/
|
|
745
745
|
getHighlighted: () => Array<any>;
|
|
746
746
|
/** Get json */
|
|
@@ -790,7 +790,7 @@ declare namespace jspreadsheet {
|
|
|
790
790
|
/** Get value by the coordinates. The value can be the raw or processed value. */
|
|
791
791
|
getValueFromCoords: (x: number, y: number, processed: boolean) => any;
|
|
792
792
|
/** Get the width of one column by index or all column width as an array when index is null. */
|
|
793
|
-
getWidth: (x?:
|
|
793
|
+
getWidth: (x?: number) => Array<number> | number;
|
|
794
794
|
/** Go to the row number, [col number] **/
|
|
795
795
|
goto: (y: number, x?: number) => void;
|
|
796
796
|
/** Hold the header container */
|