The ___ event can be used to add custom behavior when ScrollSpy updates the active item.

  • activate.bs.scrollspy
  • update.bs.scrollspy
  • change.bs.scrollspy
  • scroll.bs.scrollspy
The correct option is activate.bs.scrollspy. You can use the 'activate.bs.scrollspy' event to add custom behavior when ScrollSpy updates the active item. This allows for additional actions to be taken when an item becomes active in the scrollspy.
Add your answer
Loading...

Leave a comment

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