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
The `TanStackDevtoolsComponent` (selector: `tanstack-devtools`) accepts the following signal-based inputs, defined by the `TanStackDevtoolsAngularInit` interface:
16
+
The `TanStackDevtools` (selector: `tanstack-devtools`) accepts the following signal-based inputs, defined by the `TanStackDevtoolsAngularInit` interface:
17
17
18
18
| Input | Type | Description |
19
19
| --- | --- | --- |
@@ -28,19 +28,19 @@ Each plugin in the `plugins` array must conform to the `TanStackDevtoolsAngularP
28
28
```ts
29
29
typeTanStackDevtoolsAngularPlugin= {
30
30
id?:string
31
-
component:Type<any>
31
+
render:TanStackDevtoolsAngularPluginRender
32
32
name:string|Type<any>
33
33
inputs?:Record<string, any>
34
34
defaultOpen?:boolean
35
35
}
36
36
```
37
37
38
-
| Field | Type | Description |
39
-
|---| --- | --- |
40
-
| `id` | `string` (optional) | Unique identifier for the plugin. |
41
-
| `component` | `Type<any>` | The Angular component class to render as the plugin panel content. |
42
-
| `name` | `string \|Type<any>` | Display name for the tab title. Can be a plain string or an Angular component class for custom rendering. |
43
-
| `inputs` | `Record<string, any>` (optional) | Additional inputs passed to the plugin component via `setInput()`. |
38
+
| Field | Type | Description |
39
+
|---------------| --- | --- |
40
+
| `id`| `string` (optional) | Unique identifier for the plugin. |
41
+
| `render` | `Type<any>` | The Angular component class to render as the plugin panel content. |
42
+
| `name`| `string \|Type<any>` | Display name for the tab title. Can be a plain string or an Angular component class for custom rendering. |
43
+
| `inputs`| `Record<string, any>` (optional) | Additional inputs passed to the plugin component via `setInput()`. |
44
44
| `defaultOpen` | `boolean` (optional) | Whether this plugin tab should be open by default. |
45
45
46
46
## Key Differences from Other Frameworks
@@ -49,22 +49,22 @@ The Angular adapter uses `component` (an Angular component class reference) inst
> Note: The Angular adapter uses `component` (an Angular component class) instead of `render` (a JSX element) in plugin definitions. Additional inputs can be provided via the `inputs` field and are bound to the component with `setInput()`.
62
-
63
-
Finally, add any additional configuration you desire to the `TanStackDevtoolsComponent`. More information can be found under the [TanStack Devtools Configuration](../../configuration) section.
61
+
Finally, add any additional configuration you desire to the `TanStackDevtools`. More information can be found under the [TanStack Devtools Configuration](../../configuration) section.
Both the `TanStackDevtoolsComponent` and the TanStack `EventClient` come with built in debug mode which will log to the console the emitted event as well as the EventClient status.
178
+
Both the `TanStackDevtools` and the TanStack `EventClient` come with built in debug mode which will log to the console the emitted event as well as the EventClient status.
179
179
180
180
TanStackDevtools debugging mode can be activated like so:
181
181
```typescript
@@ -188,9 +188,9 @@ TanStackDevtools debugging mode can be activated like so:
0 commit comments