Skip to content
This repository was archived by the owner on Apr 3, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Only `elements` is required. All others are optional.
- `onChange`: Called when any/every element is activated. Called with [event object](#event-object) as argument.
- `stick`: DOM node to stick in right rail (i.e. your sticky chart).
- `offset`: Object to manually set the offset for both directions. Must include both an up and down key and both values should be strings (i.e. `{up:"50%",down:"0"}`)
- `goToOffset`: Offset in px for scrolling to Elements using goTo. If you have a fixed Navigation 200px high, set it to `-200`. Default is `-100` for compatibility reasons.

## Event object

Expand Down
6 changes: 4 additions & 2 deletions dist/two-step.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/two-step.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading