Constructors

Properties

items: ScrollSectionItem[] = []

Array of items that make up the tabs component.

scrollOffset: number = 10

Offset distance in px to the edge of screen when scrolling to a section. Default is 10px.

sidebarMenuStyles: {} = {}
sidebarPosition: "right" | "left" = 'right'

Sidebar position. Default is right.

sidebarSize: number

Sidebar width in pixels, by default it is 30% of the viewport width.

sticky: boolean = true

Whether the sidebar should be sticky or not.

userScrollContainer: any

Defines the reference to the container that will be scrolled. By default, it is the window object.