How do you customize the offset that ScrollSpy uses to change the active item?
- data-offset
- data-custom
- data-change
- data-adjust
To customize the offset that ScrollSpy uses to change the active item, you use the data-offset attribute. This allows you to set a specific offset value to trigger the change in the active navigation item based on the scroll position.
Loading...
Related Quiz
- Explain how to create a responsive image gallery using Bootstrap's card components.
- Which tool is commonly used for evaluating the performance of a website?
- $('___').popover('show') in jQuery is utilized for showing Bootstrap popovers on specified elements.
- What is the significance of the 'data-placement' attribute in Bootstrap Tooltips?
- To optimize performance, Bootstrap recommends using 'transform' and 'opacity' properties for animations because they do not trigger ___.