8000 docs: clarify definePageMeta's `scrollToTop` desc · nuxt/nuxt@febfd30 · GitHub
[go: up one dir, main page]

Skip to content

Commit febfd30

Browse files
authored
docs: clarify definePageMeta's scrollToTop desc
1 parent 8eefc06 commit febfd30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/3.api/3.utils/define-page-meta.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ interface PageMeta {
9999

100100
Validate whether a given route can validly be rendered with this page. Return true if it is valid, or false if not. If another match can't be found, this will mean a 404. You can also directly return an object with `statusCode`/`statusMessage` to respond immediately with an error (other matches will not be checked).
101101

102-
**`scrollTopTop`**
102+
**`scrollToTop`**
103103

104104
- **Type**: `boolean | (to: RouteLocationNormalized, from: RouteLocationNormalized) => boolean`
105105

0 commit comments

Comments
 (0)
0