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
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:252](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L252)
130
+
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:253](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L253)
131
131
132
132
###### Parameters
133
133
@@ -155,7 +155,7 @@ Register a list of Angular components for dynamic creation.
155
155
156
156
| Parameter | Type | Description |
157
157
| ------ | ------ | ------ |
158
-
|`typeList`|`Type`\<`Object`\>[]| Array of component types to register |
158
+
|`typeList`|`Type`\<`object`\>[]| Array of component types to register |
159
159
160
160
###### Returns
161
161
@@ -184,7 +184,7 @@ Extract the selector string from an Angular component type.
184
184
185
185
| Parameter | Type | Description |
186
186
| ------ | ------ | ------ |
187
-
|`type`|`Type`\<`Object`\>| The component type to get selector from |
187
+
|`type`|`Type`\<`object`\>| The component type to get selector from |
188
188
189
189
###### Returns
190
190
@@ -198,7 +198,7 @@ The component's selector string
198
198
ngOnInit(): void;
199
199
```
200
200
201
-
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:266](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L266)
201
+
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:267](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L267)
202
202
203
203
A callback method that is invoked immediately after the
204
204
default change detector has checked the directive's
@@ -222,7 +222,7 @@ OnInit.ngOnInit
222
222
ngAfterContentInit(): void;
223
223
```
224
224
225
-
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:276](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L276)
225
+
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:277](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L277)
226
226
227
227
wait until after all DOM is ready to init gridstack children (after angular ngFor and sub-components run first)
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:284](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L284)
245
+
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:285](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L285)
246
246
247
247
A callback method that performs custom clean-up, invoked immediately
248
248
before a directive, pipe, or service instance is destroyed.
@@ -263,7 +263,7 @@ OnDestroy.ngOnDestroy
263
263
updateAll(): void;
264
264
```
265
265
266
-
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:298](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L298)
266
+
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:299](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L299)
267
267
268
268
called when the TEMPLATE (not recommended) list of items changes - get a list of nodes and
269
269
update the layout accordingly (which will take care of adding/removing items changed by Angular)
@@ -278,7 +278,7 @@ update the layout accordingly (which will take care of adding/removing items cha
278
278
checkEmpty(): void;
279
279
```
280
280
281
-
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:309](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L309)
281
+
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:310](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L310)
282
282
283
283
check if the grid is empty, if so show alternative content
284
284
@@ -292,7 +292,7 @@ check if the grid is empty, if so show alternative content
292
292
protectedhookEvents(grid?):void;
293
293
```
294
294
295
-
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:315](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L315)
295
+
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:316](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L316)
296
296
297
297
get all known events as easy to use Outputs for convenience
298
298
@@ -312,7 +312,7 @@ get all known events as easy to use Outputs for convenience
312
312
protectedunhookEvents(grid?):void;
313
313
```
314
314
315
-
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:342](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L342)
315
+
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:343](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L343)
316
316
317
317
###### Parameters
318
318
@@ -345,11 +345,11 @@ Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:342](https://gi
| <a id="ref"></a> `ref` | `public` | \|`undefined`\|`ComponentRef`\<[`GridstackComponent`](#gridstackcomponent)\> | `undefined` | Component reference for dynamic component removal. Used internally when this component is created dynamically. | [angular/projects/lib/src/lib/gridstack.component.ts:207](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L207) |
347
347
| <a id="selectortotype-1"></a> `selectorToType` | `static` | [`SelectorToType`](#selectortotype) | `{}` | Mapping of component selectors to their types for dynamic creation. This enables dynamic component instantiation from string selectors. Angular doesn't provide public access to this mapping, so we maintain our own. **Example** `GridstackComponent.addComponentToSelectorType([MyWidgetComponent]);` | [angular/projects/lib/src/lib/gridstack.component.ts:220](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L220) |
@@ -3095,7 +3095,7 @@ function gsCreateNgComponents(
3095
3095
isGrid):undefined|HTMLElement;
3096
3096
```
3097
3097
3098
-
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:353](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L353)
3098
+
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:354](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L354)
3099
3099
3100
3100
can be used when a new item needs to be created, which we do as a Angular component, or deleted (skip)
3101
3101
@@ -3120,7 +3120,7 @@ can be used when a new item needs to be created, which we do as a Angular compon
3120
3120
function gsSaveAdditionalNgInfo(n, w):void;
3121
3121
```
3122
3122
3123
-
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:437](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L437)
3123
+
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:439](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L439)
3124
3124
3125
3125
called for each item in the grid - check if additional information needs to be saved.
3126
3126
Note: since this is options minus gridstack protected members using Utils.removeInternalForSave(),
@@ -3146,7 +3146,7 @@ using BaseWidget.serialize()
3146
3146
function gsUpdateNgComponents(n):void;
3147
3147
```
3148
3148
3149
-
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:456](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L456)
3149
+
Defined in: [angular/projects/lib/src/lib/gridstack.component.ts:458](https://github.com/adumesny/gridstack.js/blob/master/angular/projects/lib/src/lib/gridstack.component.ts#L458)
3150
3150
3151
3151
track when widgeta re updated (rather than created) to make sure we de-serialize them as well
3152
3152
@@ -3296,5 +3296,5 @@ Used for dynamic component creation based on widget selectors.
0 commit comments