Defined in: angular/projects/lib/src/lib/types.ts:12
Extended GridStackWidget interface for Angular integration. Adds Angular-specific properties for dynamic component creation.
GridStackWidget
| Property | Type | Description | Overrides | Defined in |
|---|---|---|---|---|
selector? |
string |
Angular component selector for dynamic creation (e.g., 'my-widget') | - | angular/projects/lib/src/lib/types.ts:14 |
input? |
NgCompInputs |
Serialized data for component @Input() properties | - | angular/projects/lib/src/lib/types.ts:16 |
subGridOpts? |
NgGridStackOptions |
Configuration for nested sub-grids | GridStackWidget.subGridOpts |
angular/projects/lib/src/lib/types.ts:18 |
Defined in: angular/projects/lib/src/lib/types.ts:25
Extended GridStackNode interface for Angular integration. Adds component selector for dynamic content creation.
GridStackNode
| Property | Type | Description | Defined in |
|---|---|---|---|
selector? |
string |
Angular component selector for this node's content | angular/projects/lib/src/lib/types.ts:27 |
Defined in: angular/projects/lib/src/lib/types.ts:34
Extended GridStackOptions interface for Angular integration. Supports Angular-specific widget definitions and nested grids.
GridStackOptions
| Property | Type | Description | Overrides | Defined in |
|---|---|---|---|---|
children? |
NgGridStackWidget[] |
Array of Angular widget definitions for initial grid setup | GridStackOptions.children |
angular/projects/lib/src/lib/types.ts:36 |
subGridOpts? |
NgGridStackOptions |
Configuration for nested sub-grids (Angular-aware) | GridStackOptions.subGridOpts |
angular/projects/lib/src/lib/types.ts:38 |
type NgCompInputs = object;Defined in: angular/projects/lib/src/lib/types.ts:55
Type for component input data serialization. Maps @Input() property names to their values for widget persistence.
[key: string]: anyconst inputs: NgCompInputs = {
title: 'My Widget',
value: 42,
config: { enabled: true }
};