diff options
Diffstat (limited to 'docs/javascript/scrollspy.md')
| -rw-r--r-- | docs/javascript/scrollspy.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/javascript/scrollspy.md b/docs/javascript/scrollspy.md index 21d0223d1..5ae045fd1 100644 --- a/docs/javascript/scrollspy.md +++ b/docs/javascript/scrollspy.md @@ -55,6 +55,10 @@ The ScrollSpy plugin is for automatically updating nav targets based on scroll p ## Usage +### Requires Bootstrap nav + +Scrollspy currently requires the use of a [Bootstrap nav component](/components/nav/) for proper highlighting of active links. + ### Requires relative positioning No matter the implementation method, scrollspy requires the use of `position: relative;` on the element you're spying on. In most cases this is the `<body>`. |
