You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,8 @@ var Sticky = require('react-stickynode');
51
51
-`enabled {Boolean}` - The switch to enable or disable Sticky (true by default).
52
52
-`top {Number/String}` - The offset from the top of window where the top of the element will be when sticky state is triggered (0 by default). If it is a selector to a target (via `querySelector()`), the offset will be the height of the target.
53
53
-`bottomBoundary {Number/String}` - The offset from the top of document which release state will be triggered when the bottom of the element reaches at. If it is a selector to a target (via `querySelector()`), the offset will be the bottom of the target.
54
-
-`enableTransforms {Boolean}` - Enable the use of CSS3 transforms (true by default)
54
+
-`enableTransforms {Boolean}` - Enable the use of CSS3 transforms (true by default).
55
+
-`activeClass {String}` - Class name to be applied to the element when the sticky state is active (`active` by default).
0 commit comments