Section in the spied element
Parameters:
Name | Type | Description |
---|---|---|
id |
String | Id to identify anchor |
mac-scroll-spy-anchor |
String | ID to identify anchor (use either element or this attribute) |
refresh-scroll-spy |
Event | To refresh the top offset of all scroll anchors |
Example
<section id="modal" mac-scroll-spy-anchor></section>