The ScrollSpy feature in Bootstrap requires the ___ method to be called for initialization.

  • spy()
  • initialize()
  • activate()
  • scrollSpy()
The correct method for initializing ScrollSpy in Bootstrap is scrollSpy(). It activates the ScrollSpy behavior on the specified element.
Add your answer
Loading...

Leave a comment

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