When setting up ScrollSpy, the ___ attribute defines the elements that will trigger the scrolling event.
- data-offset
- data-spy
- data-target
- data-trigger
The correct attribute is data-trigger. It specifies the elements that will trigger the scrolling event when in view.
Loading...
Related Quiz
- The Bootstrap CSS class '___' works in tandem with Bootstrap JS to create a responsive navbar.
- Discuss the advantages of using SASS variables for Bootstrap theme customization.
- How do you initialize all tooltips in a webpage using Bootstrap's JavaScript?
- Explain how the 'flex-order' property can be used to rearrange grid layouts in Bootstrap.
- For complex component behavior, ___ is often used in conjunction with Bootstrap's JavaScript.