Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/framework/angular/devtools.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ import { Component } from '@angular/core';

- `initialIsOpen: Boolean`
- Set this `true` if you want the dev tools to default to being open
- `buttonPosition?: "top-left" | "top-right" | "bottom-left" | "bottom-right"`
- `buttonPosition?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "relative"`
- Defaults to `bottom-right`
- The position of the TanStack logo to open and close the devtools panel
- If `relative`, the button is placed in the location that you render the devtools.
- `position?: "top" | "bottom" | "left" | "right"`
- Defaults to `bottom`
- The position of the Angular Query devtools panel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,22 @@ export class AngularQueryDevtools

/**
* The position of the TanStack logo to open and close the devtools panel.
* 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'
* Defaults to 'bottom-right'.
* `top-left` | `top-right` | `bottom-left` | `bottom-right` | `relative`
* Defaults to `bottom-right`.
* If `relative`, the button is placed in the location that you render the devtools.
* @example
* <angular-query-devtools buttonPosition="top-right" />
*/
@Input() buttonPosition?: queryDevtools.DevtoolsButtonPosition

/**
* The position of the Angular Query devtools panel.
* 'top' | 'bottom' | 'left' | 'right'
* Defaults to 'bottom'.
* `top` | `bottom` | `left` | `right`
* Defaults to `bottom`.
* @example
* <angular-query-devtools position="bottom" />
*/
@Input({ alias: 'position' }) position?: queryDevtools.DevtoolsPosition
@Input() position?: queryDevtools.DevtoolsPosition

/**
* Custom instance of QueryClient
Expand Down