Skip to content

Commit

Permalink
Fix an incorrect documentation example
Browse files Browse the repository at this point in the history
  • Loading branch information
philipwalton committed Dec 7, 2016
1 parent bef0e34 commit 0238cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/plugins/impression-tracker.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ The following table outlines all possible configuration options for the `impress
<tr valign="top">
<td><code>rootMargin</code></td>
<td><code>string</code></td>
<td>A CSS margin string accepting pixel or percentage values. It is passed as the <a href="https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver#Properties"><code>rootMargin</code></a> option to the <code>IntersectionObserver</code> instance, which is used to expand or contract the viewport area to change when an element is considered visible. For example: the string <code>'-20px 0'</code> would contract the viewport by 20 pixels on the top and bottom sides, and all element visibility calculations would be based on that rather than the full viewport dimensions.</td>
<td>A CSS margin string accepting pixel or percentage values. It is passed as the <a href="https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver#Properties"><code>rootMargin</code></a> option to the <code>IntersectionObserver</code> instance, which is used to expand or contract the viewport area to change when an element is considered visible. For example: the string <code>'-20px 0px'</code> would contract the viewport by 20 pixels on the top and bottom sides, and all element visibility calculations would be based on that rather than the full viewport dimensions.</td>
</tr>
<tr valign="top">
<td><code>fieldsObj</code></td>
Expand Down

0 comments on commit 0238cfe

Please sign in to comment.