From ff8d28cf2501773ff6f7833865c8e2b2ebb76a3f Mon Sep 17 00:00:00 2001 From: Quy Date: Sat, 31 Dec 2016 16:12:28 -0800 Subject: Move .table-responsive from wrapper to .table --- docs/components/scrollspy.md | 69 +++++++++++++++++++++----------------------- 1 file changed, 33 insertions(+), 36 deletions(-) (limited to 'docs/components/scrollspy.md') diff --git a/docs/components/scrollspy.md b/docs/components/scrollspy.md index 74829267e..a1f04ad9c 100644 --- a/docs/components/scrollspy.md +++ b/docs/components/scrollspy.md @@ -117,45 +117,42 @@ $('[data-spy="scroll"]').each(function () { Options can be passed via data attributes or JavaScript. For data attributes, append the option name to `data-`, as in `data-offset=""`. -
- - - - - - - - - - - - - - - - - -
NameTypeDefaultDescription
offsetnumber10Pixels to offset from top when calculating position of scroll.
-
+ + + + + + + + + + + + + + + + + +
NameTypeDefaultDescription
offsetnumber10Pixels to offset from top when calculating position of scroll.
### Events -
- - - - - - - - - - - - - -
Event TypeDescription
activate.bs.scrollspyThis event fires whenever a new item becomes activated by the scrollspy.
-
+ + + + + + + + + + + + + +
Event TypeDescription
activate.bs.scrollspyThis event fires whenever a new item becomes activated by the scrollspy.
+ {% highlight js %} $('#myScrollspy').on('activate.bs.scrollspy', function () { // do something… -- cgit v1.2.3