πͺOptions
To understand more about options and its interface please
Last updated
To understand more about options and its interface please
Last updated
Option | Type | Default | Description |
---|---|---|---|
sectionSelector
string
section
A "Query Selector to Your Sections" refers to a mechanism or tool that allows you to select or target specific sections within a webpage using a query selector. You can either pass a class name(dot With Class name) or just attribute (if it's class make)
targetSelector
string
The targetSelector [data-jump]
or href
attribute, specifically data-jump="section1"
or <a href="#section1">Section 1</a>
, are different ways to specify the target sections within a webpage for navigation purposes.
topOffset
array of objects
topOffset: 500
The topOffset property contains an array of objects with specific width ranges and corresponding top offset values. Each object represents a condition of screens.
easing
object
false
By default, the easing feature is disabled. Enabling easing can enhance the scrolling experience of each section by adding smooth and visually appealing transitions.
activeClass
array
active
These classes can be applied dynamically to elements to visually distinguish the active or highlighted element. By adding these classes, you can style and emphasize specific elements in a user interface, providing a visual indication of their active or highlighted status. You can have multiple active classes for section