diff --git a/javascript.html b/javascript.html index 53bd00cd94..0259108d71 100644 --- a/javascript.html +++ b/javascript.html @@ -1767,7 +1767,7 @@ $('#myCarousel').on('slide.bs.carousel', function () { offset number | function | object 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 left directions. To listen for a single direction, or multiple unique offsets, just provide an object offset: { top: 10 }. Use a function when you need to dynamically provide an offset (useful for some responsive designs). + 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 left 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.