macScrollSpyTarget

Element to highlight when anchor scroll into view

Parameters:
Name Type Description
mac-scroll-spy-target String

Name of the anchor

mac-scroll-spy-target-class String

Class to apply for highlighting (default active)

Example
<ul class="nav nav-list">
  <li mac-scroll-spy-target="modal"><a href="#modal">Modal</a></li>
  <li mac-scroll-spy-target="scrollspy"><a href="#scrollspy">Scroll Spy</a></li>
</ul>