diff options
| author | unaccomplished <[email protected]> | 2018-12-11 00:27:04 -0800 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2018-12-11 10:27:04 +0200 |
| commit | 0a55c7a8f62ff0b7d95d42e3d09db9927f85c439 (patch) | |
| tree | c800fab5db6d741d9bbdc2b1714c822b3953ed14 | |
| parent | 3100a3a95eeebc467ea28c551f9734e181d39c84 (diff) | |
| download | bootstrap-0a55c7a8f62ff0b7d95d42e3d09db9927f85c439.tar.xz bootstrap-0a55c7a8f62ff0b7d95d42e3d09db9927f85c439.zip | |
Update Scrollspy doc to include missing method options (#27754)
| -rw-r--r-- | site/docs/4.1/components/scrollspy.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/site/docs/4.1/components/scrollspy.md b/site/docs/4.1/components/scrollspy.md index 3c52f8251..b8d911949 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 <td>10</td> <td>Pixels to offset from top when calculating position of scroll.</td> </tr> + <tr> + <td>method</td> + <td>string</td> + <td>auto</td> + <td>Finds which section the spied element is in. <code>auto</code> will choose the best method get scroll coordinates. <code>offset</code> will use jQuery offset method to get scroll coordinates. <code>position</code> will use jQuery position method to get scroll coordinates.</td> + </tr> + <tr> + <td>target</td> + <td>string</td> + <td></td> + <td>Specifies element to apply Scrollspy plugin.</td> + </tr> </tbody> </table> |
