You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: angular/doc/api/base-widget.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ new BaseWidget(): BaseWidget;
28
28
serialize(): undefined|NgCompInputs;
29
29
```
30
30
31
-
Defined in: [angular/projects/lib/src/lib/base-widget.ts:66](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/base-widget.ts#L66)
31
+
Defined in: [angular/projects/lib/src/lib/base-widget.ts:69](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/base-widget.ts#L69)
32
32
33
33
Override this method to return serializable data for this widget.
34
34
@@ -59,7 +59,7 @@ serialize() {
59
59
deserialize(w): void;
60
60
```
61
61
62
-
Defined in: [angular/projects/lib/src/lib/base-widget.ts:88](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/base-widget.ts#L88)
62
+
Defined in: [angular/projects/lib/src/lib/base-widget.ts:91](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/base-widget.ts#L91)
63
63
64
64
Override this method to handle widget restoration from saved data.
@@ -3121,7 +3121,7 @@ can be used when a new item needs to be created, which we do as a Angular compon
3121
3121
function gsSaveAdditionalNgInfo(n, w):void;
3122
3122
```
3123
3123
3124
-
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:447](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L447)
3124
+
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:449](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L449)
3125
3125
3126
3126
called for each item in the grid - check if additional information needs to be saved.
3127
3127
Note: since this is options minus gridstack protected members using Utils.removeInternalForSave(),
@@ -3147,7 +3147,7 @@ using BaseWidget.serialize()
3147
3147
function gsUpdateNgComponents(n):void;
3148
3148
```
3149
3149
3150
-
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:466](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L466)
3150
+
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:468](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L468)
3151
3151
3152
3152
track when widgeta re updated (rather than created) to make sure we de-serialize them as well
0 commit comments