From 6b534f0bdd9e33de6b0752f7b15b18acec7a2d83 Mon Sep 17 00:00:00 2001 From: jfcere Date: Sun, 17 Mar 2019 16:49:09 -0400 Subject: [PATCH] 0.1.1 --- README.md | 4 ++-- lib/package.json | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d3e4707..dfc5e6b 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ ngx-stickybits provides the `stickybits` directive to apply on element you want | @Input()
scrollEl | Element \| string | `window` | Desired scrolling element or DOM query selector | | @Input()
parentClass | string | 'sticky-parent' | Applied CSS class on the parent of the sticky element | | @Input()
stickyChangeClass | string | 'sticky--change' | Applied CSS class after the element is sticky for a certain duration of scroll - _By default this duration of scrolling is the height of the sticky element_ | -| @Input()
stickyChangeNumber | number | 0 | Description | +| @Input()
stickyChangeNumber | number | _sticky element height_ | Scroll duration for when `.sticky--change` is added can be modified by providing a number for this option | | @Input()
stickyClass | string | 'sticky' | Applied CSS class on element when it is _sticky_ | | @Input()
stuckClass | string | 'stuck' | Applied CSS class on element when it is _stuck_ | | @Input()
stickyOffset | number | 0 | Desired offset from the top of the viewport to which the element will stick | @@ -96,7 +96,7 @@ I won't lie to you, getting an element sticky has always been a hard and painful #### verticalPosition = 'bottom' -Setting `[verticalPosition]="'bottom'"` won't work out of the box, easiest way to fit it is to put the sticky parent element with `display: flex` and set the sticky element with `align-self: flex-end`. +Setting `[verticalPosition]="'bottom'"` won't work out of the box, easiest way to fix it is to put the sticky parent element with `display: flex` and set the sticky element with `align-self: flex-end`. ## Demo Application diff --git a/lib/package.json b/lib/package.json index f4f0488..edfa9e2 100644 --- a/lib/package.json +++ b/lib/package.json @@ -1,6 +1,6 @@ { "name": "ngx-stickybits", - "version": "0.1.0", + "version": "0.1.1", "description": "Angular sticky directive using Stickybits, a lightweight alternative to `position: sticky` polyfills", "homepage": "https://github.com/jfcere/ngx-stickybits", "license": "MIT", diff --git a/package.json b/package.json index ecea8a4..0a6bade 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ngx-stickybits", - "version": "0.1.0", + "version": "0.1.1", "description": "Angular sticky directive using Stickybits, a lightweight alternative to `position: sticky` polyfills", "homepage": "https://github.com/jfcere/ngx-stickybits", "license": "MIT",