Skip to content

Commit 1efd71c

Browse files
committed
docs(use-breakpoints): add update() method to Reactivity table
1 parent 9a69e0e commit 1efd71c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/docs/src/pages/composables/plugins/use-breakpoints.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ Breakpoints are **range-based**, not exact pixel matches. The `name` is the **hi
118118
| `breakpoints` | `Record<string, number>` | Static config object (not reactive) |
119119
| `mobileBreakpoint` | `BreakpointName \| number` | The threshold used to compute `isMobile` (static) |
120120
| `ssr` | `boolean` | `true` when running server-side with SSR options |
121+
| `update()` || Manually trigger viewport dimension and breakpoint recalculation |
121122

122123
> [!TIP]
123124
> `xs` is always equivalent to "xsAndDown" (nothing is below xs), and `xxl` is always equivalent to "xxlAndUp" (nothing is above xxl). These redundant combinations are intentionally not provided.

0 commit comments

Comments
 (0)