πMethods
Last updated
Last updated
Name | Type | Description |
---|---|---|
onSectionChange
call back method
It's responsible to return the currently active section, all sections, and the animate option.
onScroll
call back method
same as onSectionChange
The only distinction is that it will be executed with every scroll.
onLastScrollInView
call back method
It allows you to define custom actions that will be triggered when the last section of your web page comes into view during scrolling
onLastScrollInView: () => console.log("lol")
onFirstScrollInView
call back method
It allows you to define custom actions that will be triggered when the first section of your web page comes into view during scrolling
onFirstScrollInView: () => console.log("lol")
getCurrentSection
public method
Contains the information[of object type] related to a current section.