1.0.1 • Published 2 years ago

ngx-sticky-copy v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

npm version Build Status npm bundle size NPM demo stackblitz

Ngx-sticky-copy

Ngx Sticky is another Angular approach how to make elements sticky. This library allows you to make sticky even tHead. It creates sticky copy and show/hide based on scroll position.

Instalation

npm install ngx-sticky-copy --save

then add NgxStickyCopyModule into module imports

import {NgxStickyCopyModule} from 'ngx-sticky-copy';

@NgModule({
// ...
  imports: [
    // ...
    NgxStickyCopyModule,
    // ...
  ],
// ...
})

Usage

See DEMO app for usage.

Directives

  • *scSticky - for all elements except table head
  • *scStickyThead - for table head element (tHead)