17.0.0 • Published 16 days ago

@enten/ngx-sticky v17.0.0

Weekly downloads
19
License
MIT
Repository
github
Last release
16 days ago

@enten/ngx-sticky

NPM Version CI-CD Coverage Status NPM bundle size License: MIT

:warning: WIP

An Angular directive for making things sticky when the user scrolls (for Angular 2+) with no jQuery Dependency.

Requirements

  • Angular (requires Angular 4.x or higher)
  • Supports all major browsers and IE11 and up (lower versions might not be supported)

Features

  • Stick all the things!
  • Super smooth!
  • Tested in real world projects
  • Support for Angular Universal
  • Prevents page-jumping when switching to sticky mode
  • No jQuery or other dependencies - pure Angular solution
  • Support for boundaries to make elements stop

Installation

with npm:

npm install @enten/ngx-sticky

with yarn:

yarn add @enten/ngx-sticky

Now import the NgxStickyModule in the corresponding Module

import { NgxStickyModule } from '@enten/ngx-sticky';

@NgModule({
  declarations: [
  ],
  imports: [
    NgxStickyModule,
  ],
  providers: [],
})
export class SomeModule { }

Usage

<div ngxSticky>
  I am sticky!
</div>

Showcases

@enten/ngx-sticky@angular/corerxjs
17.0.0^17.0.0^6.5.3 \|\| ^7.4.0
16.0.0^16.0.0^6.5.3 \|\| ^7.4.0
15.0.0^15.0.0^6.5.3 \|\| ^7.4.0
14.0.0^14.0.0^6.5.3 \|\| ^7.4.0
13.0.0^13.0.0^6.5.3 \|\| ^7.4.0
12.0.0^12.0.0^6.5.3 \|\| ^7.0.0
11.0.0^11.0.0^6.5.3
10.0.0^10.0.0^6.5.3
9.0.0^9.0.0^6.5.3
8.0.0^8.0.0^6.4.0
7.0.0^7.0.0>=6.0.0 <6.4.0
6.0.0^6.0.0>=6.0.0 <6.4.0

Thanks to

License

MIT

17.0.0

16 days ago

15.0.0

7 months ago

10.0.0

7 months ago

6.0.0

7 months ago

14.0.0

7 months ago

13.0.0

7 months ago

7.0.0

7 months ago

12.0.0

7 months ago

8.0.0

7 months ago

16.0.0

7 months ago

9.0.0

7 months ago

11.0.0

7 months ago

0.1.7-rc.0

1 year ago

0.1.30

2 years ago

0.1.3-fix.0

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4-rc.1

3 years ago

0.1.4

3 years ago

0.1.4-rc.0

3 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago