ng-stickyfill
Version:
An Angular directive for easy using stickyfill, a polyfill allowing to use position:sticky on browsers that doesn't support that
27 lines (17 loc) • 487 B
Markdown
# ng-stickyfill
An Angular directive for easy using [stickyfill](https://github.com/wilddeer/stickyfill), a polyfill allowing to use position:sticky on browsers that doesn't support that.
## Installation
Firstly you need to include stickyfill to your page. Then you can install ng-stickyfill using npm
```
npm install ng-stickyfill --save
```
or bower
```
bower install ng-stickyfill --save
```
## Usage
```html
<div stickyfill>
<h3>Hi, I'm very sticky!</h3>
</div>
```