From 0a55c7a8f62ff0b7d95d42e3d09db9927f85c439 Mon Sep 17 00:00:00 2001 From: unaccomplished Date: Tue, 11 Dec 2018 00:27:04 -0800 Subject: [PATCH] Update Scrollspy doc to include missing method options (#27754) --- site/docs/4.1/components/scrollspy.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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. +