ngx-sticky-copy
v1.0.1
Published
Ngx Sticky is another approach how to make elements sticky.
Downloads
79
Maintainers
Readme
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)