From f47ad79538458c4fe787335a5873c00073c5c2c9 Mon Sep 17 00:00:00 2001 From: Attila Dobi Date: Tue, 15 Apr 2014 10:46:58 +0300 Subject: add `target` option to Affix plugin --- docs/_includes/js/affix.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/_includes/js/affix.html') 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 @@ 10 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 offset: { top: 10 } or offset: { top: 10, bottom: 5 }. Use a function when you need to dynamically calculate an offset. + + target + selector | node | jQuery element + the window object + Specifies the target element of the affix. + + -- cgit v1.2.3