Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksey Razbakov committed Jan 20, 2017
1 parent 8520051 commit 3770258
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Your css should contain the following lines: (you can specify the classNames in
```js
$('.sticky').sticky({
type: "scroll-top", // trigger sticky `always` or only on `scroll-top`
stickyOnHover: true // triggers hoverClass on hover of the $element
stickyOnHover: true, // triggers hoverClass on hover of the $element
// $element remains sticky if stickyOnHover true
minimalViewportWidth: 0, // at what device width trigger sticky
timeout: 100, // pause before trigger sticky (iPhone bugfix)
Expand All @@ -90,7 +90,6 @@ Your css should contain the following lines: (you can specify the classNames in
isStickyClass: 'is-sticky',
stickyWrapperClass: 'sticky-wrapper',
scrollTopClass: 'scroll-top',
hoverClass: 'sticky-hover',

hoverClass: 'sticky-hover'
});
```

0 comments on commit 3770258

Please sign in to comment.