Skip to content

Commit

Permalink
feat: Accept InnerClass (#127)
Browse files Browse the repository at this point in the history
* Accept InnerClass

* Added innerClass to readme
  • Loading branch information
DannyAziz authored May 5, 2020
1 parent e4668b5 commit 1cc9a1a
Show file tree
Hide file tree
Showing 3 changed files with 8,741 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ import Sticky from 'react-stickynode';
| `innerZ` | Number/String | z-index of the sticky. |
| `enableTransforms` | Boolean | Enable the use of CSS3 transforms (true by default). |
| `activeClass` | String | Class name to be applied to the element when the sticky state is active (`active` by default). |
| `innerClass` | String | Class name to be applied to the inner element (`''` by default). |
| `releasedClass` | String | Class name to be applied to the element when the sticky state is released (`released` by default). |
| `onStateChange` | Function | Callback for when the sticky state changes. See below. |
| `shouldFreeze` | Function | Callback to indicate when the sticky plugin should freeze position and ignore scroll/resize events. See below. |
Expand Down
Loading

0 comments on commit 1cc9a1a

Please sign in to comment.