jspreadsheet 11.5.4 → 11.5.6

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 CHANGED
@@ -118,6 +118,8 @@ declare namespace jspreadsheet {
118
118
  height?: number,
119
119
  zIndex?: number,
120
120
  options?: object,
121
+ // This media is anchor to a cell, so position will be relative to the cell otherwise absolute
122
+ cellAnchor?: string,
121
123
  }
122
124
 
123
125
  /** New column object */
@@ -1715,6 +1717,8 @@ declare namespace jspreadsheet {
1715
1717
  refreshToolbar: () => void;
1716
1718
  /** Add, update or delete a new worksheet floating image */
1717
1719
  setMedia: (items: Media[]) => void;
1720
+ /** Get a media element position or object by guid. */
1721
+ getMedia: (guid: string, position?: boolean) => void;
1718
1722
  /** List of all guids to delete. Can be charts and images */
1719
1723
  deleteMedia: (items: object[]|string[]) => void;
1720
1724
  /** Add a global formula to the tracking system. Use from formula pro. Only use if necessary. */