Skip to content

Commit 1544f4e

Browse files
aethrposva
andauthored
docs: add scrollBehavior API detail and link to guide (vuejs#954)
* docs: add scrollBehavior API detail and link to guide * Update docs/api/index.md Co-authored-by: Eduardo San Martin Morote <[email protected]>
1 parent 6a72db8 commit 1544f4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -746,12 +746,12 @@ routes: RouteRecordRaw[]
746746

747747
### scrollBehavior
748748

749-
Function to control scrolling when navigating between pages. Can return a Promise to delay scrolling. Check .
749+
Function to control scrolling when navigating between pages. Can return a Promise to delay when the scrolling happens. See [Scroll Behaviour](../guide/advanced/scroll-behavior.md) for more details.
750750

751751
**Signature:**
752752

753753
```typescript
754-
scrollBehavior?: ScrollBehavior
754+
scrollBehavior?: RouterScrollBehavior
755755
```
756756

757757
#### Examples

0 commit comments

Comments
 (0)