Skip to content

Angular 2+ (Tested with 8) directive for easily using stickyfilljs, a polyfill allowing one to use position:sticky in browsers in browsers that don't yet have sticky support.

Notifications You must be signed in to change notification settings

chriszrc/ngx-stickyfill

Repository files navigation

NgxStickyfill

For usage documentation, go to the projects folder:

https://github.com/chriszrc/ngx-stickyfill/tree/master/projects/ngx-stickyfill-lib

Development server

This project was generated with Angular CLI version 7.3.5.

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.


NgxStickyfillLib

This library was generated with Angular CLI version 7.2.0.

Code scaffolding

Run ng generate component component-name --project ngx-stickyfill-lib to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project ngx-stickyfill-lib.

Note: Don't forget to add --project ngx-stickyfill-lib or else it will be added to the default project in your angular.json file.

Build

Run ng build ngx-stickyfill-lib to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build ngx-stickyfill-lib, go to the dist folder cd dist/ngx-stickyfill-lib and run npm publish.

Running unit tests

Run ng test ngx-stickyfill-lib to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

About

Angular 2+ (Tested with 8) directive for easily using stickyfilljs, a polyfill allowing one to use position:sticky in browsers in browsers that don't yet have sticky support.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published