From bbe4625672c5122bb2b06c495f9ea41752c10467 Mon Sep 17 00:00:00 2001 From: fat Date: Wed, 19 Dec 2012 23:39:26 -0800 Subject: lol we dont' have affix(refresh) --- docs/javascript.html | 8 -------- 1 file changed, 8 deletions(-) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index e4cb9c82c..a10360bf3 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1676,14 +1676,6 @@ $('.carousel').carousel({

Call the affix plugin via JavaScript:

$('#navbar').affix()
-

Methods

-

.affix('refresh')

-

When using affix in conjunction with adding or removing of elements from the DOM, you'll want to call the refresh method:

-
-$('[data-spy="affix"]').each(function () {
-  $(this).affix('refresh')
-});
-

Options

Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-offset-top="200".

-- cgit v1.2.3