From 9a19479eb334d5c1ffc86e1e1be352583116b933 Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Tue, 26 Sep 2017 16:22:15 -0300 Subject: [PATCH] docs(scrollspy): minor update --- docs/directives/scrollspy/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/directives/scrollspy/README.md b/docs/directives/scrollspy/README.md index 519a5086736..f847ddb0305 100644 --- a/docs/directives/scrollspy/README.md +++ b/docs/directives/scrollspy/README.md @@ -13,12 +13,12 @@ component(s) where you want to indicate which link is currently active. - When spying on elements other than the ``, be sure to have a `height` set and `overflow-y: scroll;` applied. - Anchors (``, ``, ``, ``) are required and -must have an `href` that points to an element with that id in teh container you are spying on. +must have an `href` that points to an element with that id in the container you are spying on. When successfully implemented, your nav or list group will update accordingly, moving the `active` state from one item to the next based on their associated targets. -### Example using `` +### Example using navs Using `v-b-scrollspy` on a `` component to monitor the scrolling on ``. Scroll the area below the navbar and watch the active class change. The dropdown items will be highlighted as well. @@ -88,7 +88,7 @@ export default { ``` -### Example using nested `` and `` +### Example using nested navs Scrollspy also works with nested ``. If a nested `` is active, its parents will also be active. Scroll the area next to the navbar and watch the active class change. @@ -156,7 +156,7 @@ export default { ``` -### Example with `` +### Example using list group Scrollspy also works with `` when it contains ``s that have a _local_ `href` . Scroll the area next to the list group and watch the active state change.