@@ -2845,7 +2845,7 @@ new Utils(): Utils;
2845
2845
static addElStyles(el, styles): void;
2846
2846
```
2847
2847
2848
- Defined in: [utils.ts:690 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L690 )
2848
+ Defined in: [utils.ts:692 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L692 )
2849
2849
2850
2850
###### Parameters
2851
2851
@@ -2864,7 +2864,7 @@ Defined in: [utils.ts:690](https://github.com/adumesny/gridstack.js/blob/master/
2864
2864
static appendTo(el, parent): void;
2865
2865
```
2866
2866
2867
- Defined in: [utils.ts:672 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L672 )
2867
+ Defined in: [utils.ts:674 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L674 )
2868
2868
2869
2869
###### Parameters
2870
2870
@@ -2943,7 +2943,7 @@ const overlap = Utils.areaIntercept(
2943
2943
static canBeRotated(n): boolean;
2944
2944
```
2945
2945
2946
- Defined in: [utils.ts:793 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L793 )
2946
+ Defined in: [utils.ts:795 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L795 )
2947
2947
2948
2948
true if the item can be rotated (checking for prop, not space available)
2949
2949
@@ -2963,7 +2963,7 @@ true if the item can be rotated (checking for prop, not space available)
2963
2963
static clone<T>(obj): T;
2964
2964
```
2965
2965
2966
- Defined in: [utils.ts:635 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L635 )
2966
+ Defined in: [utils.ts:637 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L637 )
2967
2967
2968
2968
single level clone, returning a new object with same top fields. This will share sub objects and arrays
2969
2969
@@ -2989,7 +2989,7 @@ single level clone, returning a new object with same top fields. This will share
2989
2989
static cloneDeep<T>(obj): T;
2990
2990
```
2991
2991
2992
- Defined in: [utils.ts:651 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L651 )
2992
+ Defined in: [utils.ts:653 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L653 )
2993
2993
2994
2994
Recursive clone version that returns a full copy, checking for nested objects and arrays ONLY.
2995
2995
Note: this will use as-is any key starting with double __ (and not copy inside) some lib have circular dependencies.
@@ -3016,7 +3016,7 @@ Note: this will use as-is any key starting with double __ (and not copy inside)
3016
3016
static cloneNode(el): HTMLElement;
3017
3017
```
3018
3018
3019
- Defined in: [utils.ts:666 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L666 )
3019
+ Defined in: [utils.ts:668 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L668 )
3020
3020
3021
3021
deep clone the given HTML node, removing teh unique id field
3022
3022
@@ -3226,7 +3226,7 @@ const fromShadow = Utils.getElements('.item', shadowRoot);
3226
3226
static getValuesFromTransformedElement(parent): DragTransform;
3227
3227
```
3228
3228
3229
- Defined in: [utils.ts:750 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L750 )
3229
+ Defined in: [utils.ts:752 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L752 )
3230
3230
3231
3231
defines an element that is used to get the offset and scale from grid transforms
3232
3232
returns the scale and offsets from said element
@@ -3247,7 +3247,7 @@ returns the scale and offsets from said element
3247
3247
static initEvent<T>(e, info): T;
3248
3248
```
3249
3249
3250
- Defined in: [utils.ts:707 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L707 )
3250
+ Defined in: [utils.ts:709 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L709 )
3251
3251
3252
3252
###### Type Parameters
3253
3253
@@ -3420,7 +3420,7 @@ removes field from the first object if same as the second objects (like diffing)
3420
3420
static removeInternalForSave(n, removeEl): void;
3421
3421
```
3422
3422
3423
- Defined in: [utils.ts:509 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L509 )
3423
+ Defined in: [utils.ts:511 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L511 )
3424
3424
3425
3425
removes internal fields '_' and default values for saving
3426
3426
@@ -3441,7 +3441,7 @@ removes internal fields '_' and default values for saving
3441
3441
static removePositioningStyles(el): void;
3442
3442
```
3443
3443
3444
- Defined in: [utils.ts:542 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L542 )
3444
+ Defined in: [utils.ts:544 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L544 )
3445
3445
3446
3446
###### Parameters
3447
3447
@@ -3565,7 +3565,7 @@ static simulateMouseEvent(
3565
3565
target?): void;
3566
3566
```
3567
3567
3568
- Defined in: [utils.ts:723 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L723 )
3568
+ Defined in: [utils.ts:725 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L725 )
3569
3569
3570
3570
copies the MouseEvent (or convert Touch) properties and sends it as another event to the given target
3571
3571
@@ -3620,7 +3620,7 @@ static swap(
3620
3620
b): void;
3621
3621
```
3622
3622
3623
- Defined in: [utils.ts:774 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L774 )
3623
+ Defined in: [utils.ts:776 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L776 )
3624
3624
3625
3625
swap the given object 2 field values
3626
3626
@@ -3642,7 +3642,7 @@ swap the given object 2 field values
3642
3642
static throttle(func, delay): () => void;
3643
3643
```
3644
3644
3645
- Defined in: [utils.ts:532 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L532 )
3645
+ Defined in: [utils.ts:534 ](https://github.com/adumesny/gridstack.js/blob/master/src/utils.ts#L534 )
3646
3646
3647
3647
delay calling the given function for given delay, preventing new calls from happening while waiting
3648
3648
0 commit comments