diff options
| author | Attila Dobi <[email protected]> | 2014-04-15 10:46:58 +0300 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-05-16 13:07:45 -0700 |
| commit | f47ad79538458c4fe787335a5873c00073c5c2c9 (patch) | |
| tree | 6ba0940e6d71e48e2e75a34ce51c7ff7cb006736 /docs/_includes | |
| parent | a40ff40b8fb852af8034b215e2102ca8ff1618e0 (diff) | |
| download | bootstrap-f47ad79538458c4fe787335a5873c00073c5c2c9.tar.xz bootstrap-f47ad79538458c4fe787335a5873c00073c5c2c9.zip | |
add `target` option to Affix plugin
Diffstat (limited to 'docs/_includes')
| -rw-r--r-- | docs/_includes/js/affix.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/_includes/js/affix.html b/docs/_includes/js/affix.html index cfd32ec35..5b6fec0bb 100644 --- a/docs/_includes/js/affix.html +++ b/docs/_includes/js/affix.html @@ -62,6 +62,13 @@ <td>10</td> <td>Pixels to offset from screen when calculating position of scroll. If a single number is provided, the offset will be applied in both top and bottom directions. To provide a unique, bottom and top offset just provide an object <code>offset: { top: 10 }</code> or <code>offset: { top: 10, bottom: 5 }</code>. Use a function when you need to dynamically calculate an offset.</td> </tr> + <tr> + <td>target</td> + <td>selector | node | jQuery element</td> + <td>the <code>window</code> object</td> + <td>Specifies the target element of the affix.</td> + </tr> + </tbody> </table> </div><!-- /.table-responsive --> |
