The Bootstrap 'scrollspy' component emits the '___' event when a new item becomes activated.

  • scroll.bs.spy
  • spy.bs.scroll
  • activate.bs.scrollspy
  • item-activated.bs.scrollspy
The correct answer is 'activate.bs.scrollspy'. This event is emitted when a new item becomes activated in the scrollspy component. It's crucial for executing specific actions or updates when the user scrolls and a new section comes into focus. Understanding scrollspy events is vital for creating dynamic and interactive Bootstrap layouts.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *