diff options
| author | Brian Juul Andersen <[email protected]> | 2019-07-28 13:02:23 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2019-07-28 14:02:23 +0300 |
| commit | 420efb0bacde2e01afed4ab9da81bb0e0f566ce1 (patch) | |
| tree | 259f0da749bc32964faf86293bf193b1e1580f20 | |
| parent | 2ea71a9e782000a5abe7916204ab694d993a9415 (diff) | |
| download | bootstrap-420efb0bacde2e01afed4ab9da81bb0e0f566ce1.tar.xz bootstrap-420efb0bacde2e01afed4ab9da81bb0e0f566ce1.zip | |
Update scrollspy.md (#29156)
Fixed minor grammatical error:
"... the best method get scroll ..."
=>
"... the best method to get scroll ..."
| -rw-r--r-- | site/content/docs/4.3/components/scrollspy.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/content/docs/4.3/components/scrollspy.md b/site/content/docs/4.3/components/scrollspy.md index a77b93601..f44e759b8 100644 --- a/site/content/docs/4.3/components/scrollspy.md +++ b/site/content/docs/4.3/components/scrollspy.md @@ -307,7 +307,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap <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 the <a href="https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect"><code>Element.getBoundingClientRect()</code></a> method to get scroll coordinates. <code>position</code> will use the <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetTop"><code>HTMLElement.offsetTop</code></a> and <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetLeft"><code>HTMLElement.offsetLeft</code></a> properties to get scroll coordinates.</td> + <td>Finds which section the spied element is in. <code>auto</code> will choose the best method to get scroll coordinates. <code>offset</code> will use the <a href="https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect"><code>Element.getBoundingClientRect()</code></a> method to get scroll coordinates. <code>position</code> will use the <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetTop"><code>HTMLElement.offsetTop</code></a> and <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetLeft"><code>HTMLElement.offsetLeft</code></a> properties to get scroll coordinates.</td> </tr> <tr> <td>target</td> |
