diff --git a/site/docs/4.1/components/scrollspy.md b/site/docs/4.1/components/scrollspy.md index 3c52f82510c6..b8d91194916c 100644 --- a/site/docs/4.1/components/scrollspy.md +++ b/site/docs/4.1/components/scrollspy.md @@ -306,6 +306,18 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap 10 Pixels to offset from top when calculating position of scroll. + + method + string + auto + Finds which section the spied element is in. auto will choose the best method get scroll coordinates. offset will use jQuery offset method to get scroll coordinates. position will use jQuery position method to get scroll coordinates. + + + target + string + + Specifies element to apply Scrollspy plugin. +